[Spice-commits] spice/enums.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Fri Dec 1 15:54:14 UTC 2017


 spice/enums.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4250216bafd37905afe0e9ad8cb9beb4a0c89254
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Nov 7 10:45:20 2017 +0000

    Allow to specify a surface will be streamed
    
    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>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/spice/enums.h b/spice/enums.h
index c6de125..f593777 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -296,8 +296,9 @@ typedef enum SpiceStringFlags {
 
 typedef enum SpiceSurfaceFlags {
     SPICE_SURFACE_FLAGS_PRIMARY = (1 << 0),
+    SPICE_SURFACE_FLAGS_STREAMING_MODE = (1 << 1),
 
-    SPICE_SURFACE_FLAGS_MASK = 0x1
+    SPICE_SURFACE_FLAGS_MASK = 0x3
 } SpiceSurfaceFlags;
 
 typedef enum SpiceSurfaceFmt {


More information about the Spice-commits mailing list