aboutsummaryrefslogtreecommitdiff
path: root/hw/qxl.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-02-24 23:19:29 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-02-27 09:46:52 +0100
commit4c19ebb51dc0a59ff12d60844512816562a25047 (patch)
tree19f5cd3b4864cb61cae396679093cb3379a5055d /hw/qxl.h
parent4295e15aa730a95003a3639d6dad2eb1e65a59e2 (diff)
downloadqemu-4c19ebb51dc0a59ff12d60844512816562a25047.zip
qemu-4c19ebb51dc0a59ff12d60844512816562a25047.tar.gz
qemu-4c19ebb51dc0a59ff12d60844512816562a25047.tar.bz2
qxl: remove flipped
Tested on linux and windows guests. For negative stride, qxl_flip copies directly to vga->ds->surface->data, for positive it's reallocated to share qxl->guest_primary.data Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/qxl.h')
-rw-r--r--hw/qxl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qxl.h b/hw/qxl.h
index 9288e46..53a3ace 100644
--- a/hw/qxl.h
+++ b/hw/qxl.h
@@ -52,7 +52,7 @@ typedef struct PCIQXLDevice {
uint32_t abs_stride;
uint32_t bits_pp;
uint32_t bytes_pp;
- uint8_t *data, *flipped;
+ uint8_t *data;
} guest_primary;
struct surfaces {