diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-04-23 11:00:40 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-23 11:07:27 +0200 |
commit | 797d4c1ca8a6be5d42782d03c6d8b47c4232cde1 (patch) | |
tree | 5758e37833153688cf0f53206a231eac590f2553 /spice | |
parent | 916f3818d8200efe0c2c5c90aaf8b197be562eba (diff) | |
download | spice-protocol-797d4c1ca8a6be5d42782d03c6d8b47c4232cde1.tar.gz spice-protocol-797d4c1ca8a6be5d42782d03c6d8b47c4232cde1.tar.xz spice-protocol-797d4c1ca8a6be5d42782d03c6d8b47c4232cde1.zip |
Add source/dest alpha information to AlphaBlend
Diffstat (limited to 'spice')
-rw-r--r-- | spice/draw.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spice/draw.h b/spice/draw.h index 45b3752..6aeb451 100644 --- a/spice/draw.h +++ b/spice/draw.h @@ -280,7 +280,13 @@ typedef struct SPICE_ATTR_PACKED SpiceTransparent { uint32_t true_color; } SpiceTransparent; +enum { + SPICE_ALPHA_FLAGS_DEST_HAS_ALPHA = (1 << 0), + SPICE_ALPHA_FLAGS_SRC_SURFACE_HAS_ALPHA = (1 << 1), +}; + typedef struct SPICE_ATTR_PACKED SpiceAlphaBlnd { + uint16_t alpha_flags; uint8_t alpha; SPICE_ADDRESS src_bitmap; SpiceRect src_area; |