diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-04-28 15:40:12 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-28 15:40:12 +0200 |
commit | b07c09ca170ba1a157e99f27b90cc362e0f86bb2 (patch) | |
tree | 00ab8278e36e1852b34bed580113d5e015df7691 | |
parent | 445a96d0290eb8512ec3a81e159ec0d9d6ea94eb (diff) |
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.
-rw-r--r-- | spice/draw.h | 1 | ||||
-rw-r--r-- | spice/qxl_dev.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 { |