mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-27 15:08:16 +00:00
Remove support for clip by path
This is not supported currently anyway and was not generated before.
This commit is contained in:
parent
fc30c38a94
commit
7578be4a23
@ -253,8 +253,7 @@ channel MainChannel : BaseChannel {
|
||||
|
||||
enum32 clip_type {
|
||||
NONE,
|
||||
RECTS,
|
||||
PATH,
|
||||
RECTS
|
||||
};
|
||||
|
||||
flags32 path_flags { /* TODO: C enum names changes */
|
||||
@ -414,8 +413,6 @@ struct Clip {
|
||||
switch (type) {
|
||||
case RECTS:
|
||||
ClipRects *data @outvar(cliprects);
|
||||
case PATH:
|
||||
Path *data @outvar(clippath);
|
||||
} u @anon;
|
||||
};
|
||||
|
||||
|
||||
11
spice1.proto
11
spice1.proto
@ -253,8 +253,7 @@ channel MainChannel : BaseChannel {
|
||||
|
||||
enum32 clip_type {
|
||||
NONE,
|
||||
RECTS,
|
||||
PATH,
|
||||
RECTS
|
||||
};
|
||||
|
||||
flags32 path_flags { /* TODO: C enum names changes */
|
||||
@ -382,12 +381,10 @@ struct Path {
|
||||
struct Clip {
|
||||
clip_type type;
|
||||
switch (type) {
|
||||
case NONE:
|
||||
uint64 data @zero;
|
||||
case RECTS:
|
||||
case RECTS:
|
||||
ClipRects *data @outvar(cliprects);
|
||||
case PATH:
|
||||
Path *data @outvar(clippath);
|
||||
default:
|
||||
uint64 data @zero;
|
||||
} u @anon;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user