summaryrefslogtreecommitdiff
path: root/spice.proto
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2018-03-07 11:13:34 +0000
committerFrediano Ziglio <fziglio@redhat.com>2018-03-18 09:14:29 +0000
commit2eaef9c16d5b40dbe3f2aaca5db64beed8884ea5 (patch)
treef7fda35ed192262e134f53a62d55b482a348ff05 /spice.proto
parent8096b1206bb266b8d0b80b3e4c0d36fc621d772d (diff)
protocol: Add some documentation for inval_all_pixmaps message
This message is not straight forward to grasp. Not clear by the name why we need to wait other channels messages before resetting the image cache. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
Diffstat (limited to 'spice.proto')
-rw-r--r--spice.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/spice.proto b/spice.proto
index 76cfef2..6f873a2 100644
--- a/spice.proto
+++ b/spice.proto
@@ -736,6 +736,13 @@ channel DisplayChannel : BaseChannel {
ResourceID resources[count] @end;
} @ctype(SpiceResourceList) inval_list;
+ /* This message is used to invalidate the complete image cache
+ * on the client.
+ * Due to synchronization for GLZ images we must make sure
+ * that messages related to cached images on other channels
+ * are processed so we send a list of channels with respective
+ * message serials to wait for.
+ */
message {
uint8 wait_count;
WaitForChannel wait_list[wait_count] @end;