[Spice-devel] [PATCH spice-common 1/2] RFC protocol: Allow to specify a surface will be streamed

Frediano Ziglio fziglio at redhat.com
Mon Nov 6 17:13:10 UTC 2017


This flag will allow the client to perform some optimisations
on output and buffering processing.
Old clients will ignore this additional flag.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 spice.proto | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spice.proto b/spice.proto
index 867ef9b..2896966 100644
--- a/spice.proto
+++ b/spice.proto
@@ -467,7 +467,8 @@ flags8 string_flags {
 flags32 surface_flags {
     /* Adding flags requires some caps check, since old clients only
        treat the value as an enum and not as a flag (flag == PRIMARY) */
-    PRIMARY
+    PRIMARY,
+    STREAMING_MODE,
 };
 
 enum32 surface_fmt {
-- 
2.13.6



More information about the Spice-devel mailing list