[Spice-commits] spice/draw.h spice/qxl_dev.h

Alexander Larsson alexl at kemper.freedesktop.org
Wed Apr 28 07:02:36 PDT 2010


 spice/draw.h    |    1 +
 spice/qxl_dev.h |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit b07c09ca170ba1a157e99f27b90cc362e0f86bb2
Author: Alexander Larsson <alexl at redhat.com>
Date:   Wed Apr 28 15:40:12 2010 +0200

    Add image flag for "all high bits are set to one"
    
    This lets us send rgba images with all high bytes 0xff as rgb, which
    is not all that uncommon.

diff --git a/spice/draw.h b/spice/draw.h
index 6aeb451..3c373b7 100644
--- a/spice/draw.h
+++ b/spice/draw.h
@@ -171,6 +171,7 @@ enum {
 
 enum {
     SPICE_IMAGE_FLAGS_CACHE_ME = (1 << 0),
+    SPICE_IMAGE_FLAGS_HIGH_BITS_SET = (1 << 1),
 };
 
 typedef struct SPICE_ATTR_PACKED SpiceImageDescriptor {
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index b5d7cfa..80e5e08 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -410,6 +410,7 @@ typedef struct SPICE_ATTR_PACKED QXLImageID {
 
 enum {
     QXL_IMAGE_CACHE = (1 << 0),
+    QXL_IMAGE_HIGH_BITS_SET = (1 << 1),
 };
 
 enum {


More information about the Spice-commits mailing list