qemu/hw/display
Gerd Hoffmann eb2f9b024d hw/vmware_vga.c: various vmware vga fixes.
Hardcode depth to 32 bpp.  It effectively was that way before because
that is the default surface depth, this just makes it explicit in the
code.

Rename depth to new_depth to make it consistent with the new_width +
new_height names.  In theory we can make new_depth changeable (i.e.
allow the guest to fill in -- say -- 16 there).  In practice the guests
don't try, the X-Server refuses to start if you ask it to use 16bpp
depth (via DefaultDepth in the Screen section).

Always return the correct rmask+gmask+bmask values for the given
new_depth.

Fix mode setting to also verify at new_depth to make sure we have a
correct DisplaySurface, even if the current video mode happes to be
16bpp (set by vgabios via bochs vbe interface).  While being at it
switch over to use qemu_create_displaysurface_from, so the surface is
backed by guest-visible video memory and we save a memcpy.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-04-16 09:03:47 +02:00
..
ads7846.c
blizzard_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
blizzard.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
cirrus_vga_rop2.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
cirrus_vga_rop.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
cirrus_vga_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
cirrus_vga.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
exynos4210_fimd.c exynos4210_fimd.c: fix display resize bug introduced after console revamp 2013-04-16 09:03:46 +02:00
framebuffer.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
framebuffer.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
g364fb.c
jazz_led.c
Makefile.objs hw: move display devices to hw/display/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
milkymist-tmu2.c hw: move display devices to hw/display/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
milkymist-vgafb_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
milkymist-vgafb.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
omap_dss.c hw: move display devices to hw/display/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
omap_lcd_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
omap_lcdc.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pl110_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pl110.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pxa2xx_lcd.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pxa2xx_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
qxl-logger.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
qxl-render.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
qxl.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
qxl.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
sm501_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
sm501.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
ssd0303.c
ssd0323.c
tc6393xb_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
tc6393xb.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
tcx.c hw: move display devices to hw/display/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
vga_int.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vga_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vga-isa-mm.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vga-isa.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vga-pci.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vga.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vga.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vmware_vga.c hw/vmware_vga.c: various vmware vga fixes. 2013-04-16 09:03:47 +02:00
xenfb.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00