diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-06-22 17:38:09 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-06-29 12:29:04 +0200 |
commit | 201ef133fa592652f5e59afefbf76ffc83134120 (patch) | |
tree | 232e62c159dbe6a10b9b210800ab5415c34a4076 /spice | |
parent | a5be505ff4a4655140c6eb399fdade56bdf65a8e (diff) |
qxl abi: add AlphaBlnd.
Add QXLAlphaBlnd and QXLCompatAlphaBlnd types.
Diffstat (limited to 'spice')
-rw-r--r-- | spice/qxl_dev.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h index 693348f..9d62905 100644 --- a/spice/qxl_dev.h +++ b/spice/qxl_dev.h @@ -303,6 +303,19 @@ typedef struct SPICE_ATTR_PACKED QXLCopyBits { #define QXL_EFFECT_NOP 6 #define QXL_EFFECT_OPAQUE_BRUSH 7 +typedef struct SPICE_ATTR_PACKED QXLAlphaBlnd { + uint16_t alpha_flags; + uint8_t alpha; + QXLPHYSICAL src_bitmap; + SpiceRect src_area; +} QXLAlphaBlnd; + +typedef struct SPICE_ATTR_PACKED QXLCompatAlphaBlnd { + uint8_t alpha; + QXLPHYSICAL src_bitmap; + SpiceRect src_area; +} QXLCompatAlphaBlnd; + typedef struct SPICE_ATTR_PACKED QXLCompatDrawable { QXLReleaseInfo release_info; uint8_t effect; @@ -317,7 +330,7 @@ typedef struct SPICE_ATTR_PACKED QXLCompatDrawable { SpiceOpaque opaque; SpiceCopy copy; SpiceTransparent transparent; - SpiceAlphaBlnd alpha_blend; + QXLCompatAlphaBlnd alpha_blend; QXLCopyBits copy_bits; SpiceBlend blend; SpiceRop3 rop3; @@ -346,7 +359,7 @@ typedef struct SPICE_ATTR_PACKED QXLDrawable { SpiceOpaque opaque; SpiceCopy copy; SpiceTransparent transparent; - SpiceAlphaBlnd alpha_blend; + QXLAlphaBlnd alpha_blend; QXLCopyBits copy_bits; SpiceBlend blend; SpiceRop3 rop3; |