aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga_int.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-07 10:17:44 +1000
committerGerd Hoffmann <kraxel@redhat.com>2014-12-16 15:14:42 +0100
commit5508099397c480f1c3b4f14b0e64593ebe284b26 (patch)
treea10bbd310fa90f6fd0168b64b15b6a29abc3530e /hw/display/vga_int.h
parentdfa9c2a0f4d0a0c8b2c1449ecdbb1297427e1560 (diff)
downloadqemu-5508099397c480f1c3b4f14b0e64593ebe284b26.zip
qemu-5508099397c480f1c3b4f14b0e64593ebe284b26.tar.gz
qemu-5508099397c480f1c3b4f14b0e64593ebe284b26.tar.bz2
vga: Add mechanism to force the use of a shadow surface
This prevents surface sharing which will be necessary to fix cirrus HW cursor support. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/vga_int.h')
-rw-r--r--hw/display/vga_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h
index ed69e06..72e00f2 100644
--- a/hw/display/vga_int.h
+++ b/hw/display/vga_int.h
@@ -151,6 +151,7 @@ typedef struct VGACommonState {
uint32_t last_scr_width, last_scr_height; /* in pixels */
uint32_t last_depth; /* in bits */
bool last_byteswap;
+ bool force_shadow;
uint8_t cursor_start, cursor_end;
bool cursor_visible_phase;
int64_t cursor_blink_time;