OvmfPkg: QemuVideoDxe: add further BOCHS modes

This brings the list of BOCHS video modes to par with the QEMU QXL
implementation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15289 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Laszlo Ersek 2014-03-03 08:41:15 +00:00 committed by jljusten
parent ec88061ec8
commit bb97e78852
1 changed files with 37 additions and 3 deletions

View File

@ -209,9 +209,43 @@ QemuVideoCirrusModeSetup (
/// Table of supported video modes
///
QEMU_VIDEO_BOCHS_MODES QemuVideoBochsModes[] = {
{ 640, 480, 32 },
{ 800, 600, 32 },
{ 1024, 768, 24 },
{ 640, 480, 32 },
{ 800, 480, 32 },
{ 800, 600, 32 },
{ 832, 624, 32 },
{ 960, 640, 32 },
{ 1024, 600, 32 },
{ 1024, 768, 32 },
{ 1152, 864, 32 },
{ 1152, 870, 32 },
{ 1280, 720, 32 },
{ 1280, 760, 32 },
{ 1280, 768, 32 },
{ 1280, 800, 32 },
{ 1280, 960, 32 },
{ 1280, 1024, 32 },
{ 1360, 768, 32 },
{ 1366, 768, 32 },
{ 1400, 1050, 32 },
{ 1440, 900, 32 },
{ 1600, 900, 32 },
{ 1600, 1200, 32 },
{ 1680, 1050, 32 },
{ 1920, 1080, 32 },
{ 1920, 1200, 32 },
{ 1920, 1440, 32 },
{ 2000, 2000, 32 },
{ 2048, 1536, 32 },
{ 2048, 2048, 32 },
{ 2560, 1440, 32 },
{ 2560, 1600, 32 },
{ 2560, 2048, 32 },
{ 2800, 2100, 32 },
{ 3200, 2400, 32 },
{ 3840, 2160, 32 },
{ 4096, 2160, 32 },
{ 7680, 4320, 32 },
{ 8192, 4320, 32 }
};
#define QEMU_VIDEO_BOCHS_MODE_COUNT \