summaryrefslogtreecommitdiffstats
path: root/common/canvas_base.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-02-09 16:39:35 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:37 +0100
commitf4b7a9d00451455505f4fb8dc3516eb893ae41b0 (patch)
tree34a980d82153f5632cdc307d22727b5d8a92ad0e /common/canvas_base.h
parentf9e187c619dea25079c6b4499aedf1ce65d4511a (diff)
downloadspice-common-f4b7a9d00451455505f4fb8dc3516eb893ae41b0.tar.gz
spice-common-f4b7a9d00451455505f4fb8dc3516eb893ae41b0.tar.xz
spice-common-f4b7a9d00451455505f4fb8dc3516eb893ae41b0.zip
Use pixman_image_t instead of cairo_surface_t as the generic pixman container
This allows us to use the simpler dependency of pixman outside of the cairo backend, and it later lets us move the cairo backend to using pixman only.
Diffstat (limited to 'common/canvas_base.h')
-rw-r--r--common/canvas_base.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/canvas_base.h b/common/canvas_base.h
index cc75087..78ece62 100644
--- a/common/canvas_base.h
+++ b/common/canvas_base.h
@@ -20,7 +20,7 @@
#define _H_CANVAS_BASE
-#include "cairo.h"
+#include "pixman_utils.h"
#include "lz.h"
#include <spice/draw.h>
@@ -30,9 +30,9 @@ typedef struct _SpicePaletteCache SpicePaletteCache;
typedef struct {
void (*put)(SpiceImageCache *cache,
uint64_t id,
- cairo_surface_t *surface);
- cairo_surface_t *(*get)(SpiceImageCache *cache,
- uint64_t id);
+ pixman_image_t *surface);
+ pixman_image_t *(*get)(SpiceImageCache *cache,
+ uint64_t id);
} SpiceImageCacheOps;
struct _SpiceImageCache {