[Spice-commits] 2 commits - spice/enums.h spice/protocol.h
Christophe Fergau
teuf at kemper.freedesktop.org
Tue Jun 30 07:23:11 PDT 2015
spice/enums.h | 14 ++++++++++++++
spice/protocol.h | 1 +
2 files changed, 15 insertions(+)
New commits:
commit 67fb3306f8b2db55c378e550adfd0d8e9fe40d9e
Author: Javier Celaya <javier.celaya at flexvdi.com>
Date: Mon Jun 1 16:47:13 2015 +0200
Add a preferred compression capability
diff --git a/spice/protocol.h b/spice/protocol.h
index bea376c..d3c5962 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -134,6 +134,7 @@ enum {
SPICE_DISPLAY_CAP_A8_SURFACE,
SPICE_DISPLAY_CAP_STREAM_REPORT,
SPICE_DISPLAY_CAP_LZ4_COMPRESSION,
+ SPICE_DISPLAY_CAP_PREF_COMPRESSION,
};
enum {
commit da3cf3369ae82d0736d4c21f938188b21f1fc8eb
Author: Javier Celaya <javier.celaya at flexvdi.com>
Date: Mon Jun 1 16:47:12 2015 +0200
Update enums.h for preferred compression message
diff --git a/spice/enums.h b/spice/enums.h
index 18e2f74..6a0ab0b 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -181,6 +181,19 @@ typedef enum SpiceImageType {
SPICE_IMAGE_TYPE_ENUM_END
} SpiceImageType;
+typedef enum SpiceImageCompress {
+ SPICE_IMAGE_COMPRESS_INVALID,
+ SPICE_IMAGE_COMPRESS_OFF,
+ SPICE_IMAGE_COMPRESS_AUTO_GLZ,
+ SPICE_IMAGE_COMPRESS_AUTO_LZ,
+ SPICE_IMAGE_COMPRESS_QUIC,
+ SPICE_IMAGE_COMPRESS_GLZ,
+ SPICE_IMAGE_COMPRESS_LZ,
+ SPICE_IMAGE_COMPRESS_LZ4,
+
+ SPICE_IMAGE_COMPRESS_ENUM_END
+} SpiceImageCompress;
+
typedef enum SpiceImageFlags {
SPICE_IMAGE_FLAGS_CACHE_ME = (1 << 0),
SPICE_IMAGE_FLAGS_HIGH_BITS_SET = (1 << 1),
@@ -497,6 +510,7 @@ enum {
enum {
SPICE_MSGC_DISPLAY_INIT = 101,
SPICE_MSGC_DISPLAY_STREAM_REPORT,
+ SPICE_MSGC_DISPLAY_PREFERRED_COMPRESSION,
SPICE_MSGC_END_DISPLAY
};
More information about the Spice-commits
mailing list