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:
Alon Levy 2012-06-07 15:04:08 +03:00
parent 8738ce1c5e
commit e85c454a1e

View File

@ -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;