mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 22:55:30 +00:00
support multiple monitors in single display channel
See spice-protocol commit for details:
da908f89b5
support multiple monitors on a single display channel
This commit is contained in:
parent
8738ce1c5e
commit
e85c454a1e
16
spice.proto
16
spice.proto
@ -596,6 +596,16 @@ struct StreamDataHeader {
|
||||
uint32 multi_media_time;
|
||||
};
|
||||
|
||||
struct Head {
|
||||
uint32 id;
|
||||
uint32 surface_id;
|
||||
uint32 width;
|
||||
uint32 height;
|
||||
uint32 x;
|
||||
uint32 y;
|
||||
uint32 flags;
|
||||
};
|
||||
|
||||
channel DisplayChannel : BaseChannel {
|
||||
server:
|
||||
message {
|
||||
@ -798,6 +808,12 @@ channel DisplayChannel : BaseChannel {
|
||||
uint8 data[data_size] @end @nomarshal;
|
||||
} stream_data_sized;
|
||||
|
||||
message {
|
||||
uint16 count;
|
||||
uint16 max_allowed;
|
||||
Head heads[count] @end;
|
||||
} monitors_config;
|
||||
|
||||
client:
|
||||
message {
|
||||
uint8 pixmap_cache_id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user