aboutsummaryrefslogtreecommitdiff
path: root/hw/vga_int.h
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2009-08-03 16:14:39 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:31 -0500
commit0bd8246bfec1dfb2eb959f52db535572c0260f4c (patch)
tree72c6badfd7165c7a1687c3153ba84ee6718bf77e /hw/vga_int.h
parentae2883471b8975417a8d15464b433e8b4e41e97e (diff)
vga: do not resize the screen on hw_invalidate
Hi all, currently vga always resizes the screen when vga_hw_invalidate is called while this is not required and all the other graphic emulators don't. This patch fixes it, making vga invalidate behaviour consistent with the other emulated devices. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'hw/vga_int.h')
-rw-r--r--hw/vga_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vga_int.h b/hw/vga_int.h
index 631b1b0fc3..8fdf51dc61 100644
--- a/hw/vga_int.h
+++ b/hw/vga_int.h
@@ -158,6 +158,7 @@ typedef struct VGACommonState {
uint32_t last_width, last_height; /* in chars or pixels */
uint32_t last_scr_width, last_scr_height; /* in pixels */
uint32_t last_depth; /* in bits */
+ uint8_t full_update;
uint8_t cursor_start, cursor_end;
uint32_t cursor_offset;
unsigned int (*rgb_to_pixel)(unsigned int r,