diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-06-23 17:40:22 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-06-29 12:29:45 +0200 |
commit | 30f1ed5dc6158f502052fcc9c7aa6c0812cde832 (patch) | |
tree | 366b38713c552509b828441a0e3fd294675b3891 /spice | |
parent | faa60f1c6d7198b73aa5e8029b3c108e3f67a52e (diff) |
qxl abi: add QXLQMask
Diffstat (limited to 'spice')
-rw-r--r-- | spice/qxl_dev.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h index b62ca11..c1b25c2 100644 --- a/spice/qxl_dev.h +++ b/spice/qxl_dev.h @@ -303,10 +303,16 @@ typedef struct SPICE_ATTR_PACKED QXLCopyBits { #define QXL_EFFECT_NOP 6 #define QXL_EFFECT_OPAQUE_BRUSH 7 +typedef struct SPICE_ATTR_PACKED QXLQMask { + uint8_t flags; + SpicePoint pos; + QXLPHYSICAL bitmap; +} QXLQMask; + typedef struct SPICE_ATTR_PACKED QXLFill { SpiceBrush brush; uint16_t rop_descriptor; - SpiceQMask mask; + QXLQMask mask; } QXLFill; typedef struct SPICE_ATTR_PACKED QXLOpaque { @@ -315,7 +321,7 @@ typedef struct SPICE_ATTR_PACKED QXLOpaque { SpiceBrush brush; uint16_t rop_descriptor; uint8_t scale_mode; - SpiceQMask mask; + QXLQMask mask; } QXLOpaque; typedef struct SPICE_ATTR_PACKED QXLCopy { @@ -323,7 +329,7 @@ typedef struct SPICE_ATTR_PACKED QXLCopy { SpiceRect src_area; uint16_t rop_descriptor; uint8_t scale_mode; - SpiceQMask mask; + QXLQMask mask; } QXLCopy, QXLBlend; typedef struct SPICE_ATTR_PACKED QXLTransparent { @@ -352,7 +358,7 @@ typedef struct SPICE_ATTR_PACKED QXLRop3 { SpiceBrush brush; uint8_t rop3; uint8_t scale_mode; - SpiceQMask mask; + QXLQMask mask; } QXLRop3; typedef struct SPICE_ATTR_PACKED QXLStroke { @@ -373,7 +379,7 @@ typedef struct SPICE_ATTR_PACKED QXLText { } QXLText; typedef struct SPICE_ATTR_PACKED QXLBlackness { - SpiceQMask mask; + QXLQMask mask; } QXLBlackness, QXLInvers, QXLWhiteness; typedef struct SPICE_ATTR_PACKED QXLCompatDrawable { |