summary refs log tree commit diff stats
path: root/console.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 /console.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 'console.h')
-rw-r--r--console.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/console.h b/console.h
index 70c9a55942..50a0512f32 100644
--- a/console.h
+++ b/console.h
@@ -377,6 +377,11 @@ static inline pixman_format_code_t ds_get_format(DisplayState *ds)
     return ds->surface->format;
 }
 
+static inline pixman_image_t *ds_get_image(DisplayState *ds)
+{
+    return ds->surface->image;
+}
+
 static inline int ds_get_depth(DisplayState *ds)
 {
     return ds->surface->pf.depth;