]> git.proxmox.com Git - mirror_qemu.git/commit - ui/console.c
console: untangle gfx & txt updates
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 28 Sep 2012 13:02:08 +0000 (15:02 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Nov 2012 12:10:06 +0000 (13:10 +0100)
commita93a4a226a2afba147ba5df688b85d844f537c68
tree3d4a55446430268a6d17d3d4146354b0dd57b936
parent76ffb0b4d048aac18b54f8555c60b6d3b0e2bc37
console: untangle gfx & txt updates

Stop abusing displaysurface fields for text mode displays.
(bpp = 0, width = cols, height = lines).

Add flags to displaystate indicating whenever text mode display
(curses) or gfx mode displays (sdl, vnc, ...) are present.

Add separate displaychangelistener callbacks for text / gfx mode
resize & updates.

This allows to enable gfx and txt diplays at the same time and also
paves the way for more cleanups in the future.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
27 files changed:
console.c
console.h
hw/blizzard.c
hw/exynos4210_fimd.c
hw/g364fb.c
hw/jazz_led.c
hw/milkymist-vgafb.c
hw/musicpal.c
hw/nseries.c
hw/omap_lcdc.c
hw/palm.c
hw/pl110.c
hw/pxa2xx_lcd.c
hw/qxl-render.c
hw/qxl.c
hw/sm501.c
hw/ssd0303.c
hw/ssd0323.c
hw/tc6393xb.c
hw/tcx.c
hw/vga.c
hw/vmware_vga.c
ui/curses.c
ui/sdl.c
ui/spice-display.c
ui/vnc.c
vl.c