summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-24 09:13:29 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-06-29 12:29:45 +0200
commit900f532cc2ab377b0107a142d48b277c14935c7e (patch)
treec4793ea10fa277f95094cd6256f33989e1940637
parent772fa958a73269ca0a60427110b9955dc8ee9b57 (diff)
qxl abi: add QXLPattern
-rw-r--r--spice/qxl_dev.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 261000c..4d4325b 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -303,11 +303,16 @@ typedef struct SPICE_ATTR_PACKED QXLCopyBits {
#define QXL_EFFECT_NOP 6
#define QXL_EFFECT_OPAQUE_BRUSH 7
+typedef struct SPICE_ATTR_PACKED QXLPattern {
+ QXLPHYSICAL pat;
+ SpicePoint pos;
+} QXLPattern;
+
typedef struct SPICE_ATTR_PACKED QXLBrush {
uint32_t type;
union {
uint32_t color;
- SpicePattern pattern;
+ QXLPattern pattern;
} u;
} QXLBrush;