summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-06-07 15:04:08 +0300
committerAlon Levy <alevy@redhat.com>2012-07-12 19:50:40 +0300
commite85c454a1e659467ff8b95bb602df2dff899461c (patch)
treeda710ff285fb2542f318f01780c7b990f4f945b7
parent8738ce1c5eaf4a1c01a21bcf7b90b7f57ffd5c73 (diff)
downloadspice-protocol-e85c454a1e659467ff8b95bb602df2dff899461c.tar.gz
spice-protocol-e85c454a1e659467ff8b95bb602df2dff899461c.tar.xz
spice-protocol-e85c454a1e659467ff8b95bb602df2dff899461c.zip
support multiple monitors in single display channel
See spice-protocol commit for details: da908f89b581fd4725da997fdaea209f8e6548f6 support multiple monitors on a single display channel
-rw-r--r--spice.proto16
1 files changed, 16 insertions, 0 deletions
diff --git a/spice.proto b/spice.proto
index a86bfa7..1fdead9 100644
--- a/spice.proto
+++ b/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;