Hi, Next round of console cleanup patches for review. What is in there?
(1) qemu text consoles are rendered using pixman now. (2) Each QemuConsole has its own DisplaySurface now, so we can switch consoles without re-rendering the QemuConsole and update non-active consoles. (3) Based on (2) the screendump code is simplified *alot*. (4) gui refresh timer adaption is fixes and consolidated. Also some cleanups and bugfixes. v2 adds: * bugfixes from Igor. * multihead support. please review, Gerd The following changes since commit 2d62a95766025e6a0a333528278936e2cc8bf978: virtio-blk: cleanup: remove qdev field. (2013-03-18 13:08:41 -0500) are available in the git repository at: git://git.kraxel.org/qemu pixman.v9 for you to fetch changes up to 48c022d8df21652373d0b20e78bcb13a7fb8f5ea: qxl: register QemuConsole for secondary cards (2013-03-20 10:24:52 +0100) ---------------------------------------------------------------- Gerd Hoffmann (21): pixman: add qemu_pixman_color() pixman: render vgafont glyphs into pixman images console: use pixman for fill+blit console: use pixman for font rendering console: switch color_table_rgb to pixman_color_t console: add trace events console: displaystate init revamp console: rename vga_hw_*, add QemuConsole param console: give each QemuConsole its own DisplaySurface console: simplify screendump console: zap g_width + g_height console: move gui_update+gui_setup_refresh from vl.c into console.c console: make DisplayState private to console.c console: add GraphicHwOps console: gui timer fixes xen: re-enable refresh interval reporting for xenfb console: add qemu_console_is_* console: allow pinning displaychangelisteners to consoles gtk: custom cursor support gtk: show a window for each graphical QemuConsole qxl: register QemuConsole for secondary cards Igor Mitsyanko (2): exynos4210_fimd.c: fix display resize bug introduced after console revamp hw/vmware_vga.c: fix screen resize bug introduced after console revamp hw/arm/musicpal.c | 8 +- hw/blizzard.c | 21 +- hw/cirrus_vga.c | 10 +- hw/exynos4210_fimd.c | 15 +- hw/g364fb.c | 80 +----- hw/jazz_led.c | 11 +- hw/milkymist-vgafb.c | 9 +- hw/omap_lcdc.c | 93 +----- hw/pl110.c | 9 +- hw/pxa2xx_lcd.c | 9 +- hw/qxl.c | 42 +-- hw/sm501.c | 7 +- hw/ssd0303.c | 9 +- hw/ssd0323.c | 9 +- hw/tc6393xb.c | 10 +- hw/tcx.c | 143 +--------- hw/unicore32/puv3.c | 4 +- hw/vga-isa-mm.c | 4 +- hw/vga-isa.c | 3 +- hw/vga-pci.c | 3 +- hw/vga.c | 76 +---- hw/vga_int.h | 6 +- hw/vmware_vga.c | 49 +--- hw/xenfb.c | 58 ++-- include/ui/console.h | 55 ++-- include/ui/qemu-pixman.h | 9 + include/ui/spice-display.h | 1 - trace-events | 4 + ui/console.c | 672 ++++++++++++++++++++++++-------------------- ui/curses.c | 11 +- ui/gtk.c | 66 ++++- ui/qemu-pixman.c | 54 ++++ ui/sdl.c | 52 ++-- ui/spice-display.c | 11 +- ui/vnc.c | 87 ++---- ui/vnc.h | 2 - vl.c | 55 +--- 37 files changed, 737 insertions(+), 1030 deletions(-)