optimize screendump for the common non-switch case
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 24 Feb 2012 11:43:45 +0000 (12:43 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 24 Feb 2012 19:36:05 +0000 (13:36 -0600)
commit45efb16124efef51de5157afc31984b5a47700f9
tree3f391912a9c7d6172c3abf861bf2e56accdf8aae
parent167351020420c285b67cdf0603501b3d3b15e3f7
optimize screendump for the common non-switch case

switch console only if needed, also pass down whenever the console was
switched or not because a displaysurface redraw is only needed in case
the console was switched.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
console.c
console.h
hw/blizzard.c
hw/g364fb.c
hw/omap_lcdc.c
hw/qxl.c
hw/tcx.c
hw/vga.c
hw/vmware_vga.c