mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2026-01-08 04:11:45 +00:00
qxl abi: add Fill.
Add QXLFill, also fix tyops (s/rop_decriptor/rop_descriptor/).
This commit is contained in:
parent
201ef133fa
commit
de94076219
@ -106,7 +106,7 @@ typedef struct SPICE_ATTR_PACKED SpiceQMask {
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED SpiceFill {
|
||||
SpiceBrush brush;
|
||||
uint16_t rop_decriptor;
|
||||
uint16_t rop_descriptor;
|
||||
SpiceQMask mask;
|
||||
} SpiceFill;
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user