mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2026-08-07 21:01:30 +00:00
qxl abi: zap SPICE_ADDRESS for clip rects and paths.
This commit is contained in:
parent
5938ace152
commit
65f9bef4fe
@ -67,12 +67,12 @@ typedef struct SPICE_ATTR_PACKED SpiceRect {
|
||||
typedef struct SPICE_ATTR_PACKED SpicePathSeg {
|
||||
uint32_t flags;
|
||||
uint32_t count;
|
||||
uint8_t data[0];
|
||||
SpicePointFix points[0];
|
||||
} SpicePathSeg;
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED SpicePath {
|
||||
uint32_t size;
|
||||
uint8_t segments[0];
|
||||
SpicePathSeg segments[0]; /* alert: variable size elements */
|
||||
} SpicePath;
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED SpiceClipRects {
|
||||
@ -82,7 +82,7 @@ typedef struct SPICE_ATTR_PACKED SpiceClipRects {
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED SpiceClip {
|
||||
uint32_t type;
|
||||
SPICE_ADDRESS data;
|
||||
SpiceClipRects *rects;
|
||||
} SpiceClip;
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED SpicePattern {
|
||||
@ -260,7 +260,7 @@ typedef struct SPICE_ATTR_PACKED SpiceLineAttr {
|
||||
} SpiceLineAttr;
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED SpiceStroke {
|
||||
SPICE_ADDRESS path;
|
||||
SpicePath *path;
|
||||
SpiceLineAttr attr;
|
||||
SpiceBrush brush;
|
||||
uint16_t fore_mode;
|
||||
|
||||
@ -522,6 +522,12 @@ enum {
|
||||
QXL_PATH_BEZIER = (1 << 4),
|
||||
};
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED QXLPathSeg {
|
||||
uint32_t flags;
|
||||
uint32_t count;
|
||||
QXLPointFix points[0];
|
||||
} QXLPathSeg;
|
||||
|
||||
typedef struct SPICE_ATTR_PACKED QXLPath {
|
||||
uint32_t data_size;
|
||||
QXLDataChunk chunk;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user