summaryrefslogtreecommitdiffstats
path: root/spice/qxl_dev.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-23 08:49:48 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-06-29 12:29:04 +0200
commitde94076219fa14cadec32388988accb55186fd9d (patch)
tree1e3be54c00d936684867394450aefa6715b85594 /spice/qxl_dev.h
parent201ef133fa592652f5e59afefbf76ffc83134120 (diff)
downloadspice-protocol-de94076219fa14cadec32388988accb55186fd9d.tar.gz
spice-protocol-de94076219fa14cadec32388988accb55186fd9d.tar.xz
spice-protocol-de94076219fa14cadec32388988accb55186fd9d.zip
qxl abi: add Fill.
Add QXLFill, also fix tyops (s/rop_decriptor/rop_descriptor/).
Diffstat (limited to 'spice/qxl_dev.h')
-rw-r--r--spice/qxl_dev.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 9d62905..b95f920 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -303,6 +303,12 @@ typedef struct SPICE_ATTR_PACKED QXLCopyBits {
#define QXL_EFFECT_NOP 6
#define QXL_EFFECT_OPAQUE_BRUSH 7
+typedef struct SPICE_ATTR_PACKED QXLFill {
+ SpiceBrush brush;
+ uint16_t rop_descriptor;
+ SpiceQMask mask;
+} QXLFill;
+
typedef struct SPICE_ATTR_PACKED QXLAlphaBlnd {
uint16_t alpha_flags;
uint8_t alpha;
@@ -326,7 +332,7 @@ typedef struct SPICE_ATTR_PACKED QXLCompatDrawable {
SpiceClip clip;
uint32_t mm_time;
union {
- SpiceFill fill;
+ QXLFill fill;
SpiceOpaque opaque;
SpiceCopy copy;
SpiceTransparent transparent;
@@ -355,7 +361,7 @@ typedef struct SPICE_ATTR_PACKED QXLDrawable {
int32_t surfaces_dest[3];
SpiceRect surfaces_rects[3];
union {
- SpiceFill fill;
+ QXLFill fill;
SpiceOpaque opaque;
SpiceCopy copy;
SpiceTransparent transparent;