diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-02-17 21:33:23 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-02-23 22:52:06 +0100 |
commit | 98dde80ed3c01f6ac08bcd14d34d6643da9f8418 (patch) | |
tree | a872eb82b7012195c4dd08dc7d2115f0cfac7e71 /client/canvas.h | |
parent | 8f912e49179803fa640b3bddf75b62e81b2f7178 (diff) | |
download | spice-98dde80ed3c01f6ac08bcd14d34d6643da9f8418.tar.gz spice-98dde80ed3c01f6ac08bcd14d34d6643da9f8418.tar.xz spice-98dde80ed3c01f6ac08bcd14d34d6643da9f8418.zip |
Replace custom region implementation with pixman_region32_t
pixman_region32_t is an efficient well tested region implementation (its
the one used in X) that we already depend on via pixman and use in
some places. No need to have a custom region implementation.
Diffstat (limited to 'client/canvas.h')
-rw-r--r-- | client/canvas.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/canvas.h b/client/canvas.h index 1bd3180f..65856565 100644 --- a/client/canvas.h +++ b/client/canvas.h @@ -20,6 +20,7 @@ #include "common.h" #include "debug.h" +#include "region.h" #include "cairo.h" #include <spice/protocol.h> #include "cache.hpp" @@ -36,8 +37,6 @@ enum CanvasType { CANVAS_TYPE_GDI, }; -struct QRegion; - class PixmapCacheTreat { public: static inline pixman_image_t *get(pixman_image_t *surf) |