summary refs log tree commit diff stats
path: root/ui/spice-display.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-11-02 09:12:49 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-11-05 11:54:49 +0100
commitd9a86569ca3617a495ffb352e9a390747eaa6b24 (patch)
treeea4d14aa946fa8274d8639fdb047af5036a4b709 /ui/spice-display.h
parente32c25b5f2452c7fed4dbe8962f4a9f4831fbe24 (diff)
downloadfocaccia-qemu-d9a86569ca3617a495ffb352e9a390747eaa6b24.tar.gz
focaccia-qemu-d9a86569ca3617a495ffb352e9a390747eaa6b24.zip
spice: switch to pixman
Switch over spice-display.c to use the pixman library
instead of the home-grown pflib bits.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/spice-display.h')
-rw-r--r--ui/spice-display.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/spice-display.h b/ui/spice-display.h
index d7669277fd..38b6ea98b3 100644
--- a/ui/spice-display.h
+++ b/ui/spice-display.h
@@ -20,8 +20,7 @@
 #include <spice/qxl_dev.h>
 
 #include "qemu-thread.h"
-#include "console.h"
-#include "pflib.h"
+#include "qemu-pixman.h"
 #include "sysemu.h"
 
 #define NUM_MEMSLOTS 8
@@ -72,13 +71,13 @@ typedef struct SimpleSpiceUpdate SimpleSpiceUpdate;
 
 struct SimpleSpiceDisplay {
     DisplayState *ds;
-    uint8_t *ds_mirror;
     void *buf;
     int bufsize;
     QXLWorker *worker;
     QXLInstance qxl;
     uint32_t unique;
-    QemuPfConv *conv;
+    pixman_image_t *surface;
+    pixman_image_t *mirror;
     int32_t num_surfaces;
 
     QXLRect dirty;