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.
This commit is contained in:
Alexander Larsson 2010-04-28 15:40:12 +02:00
parent 445a96d029
commit b07c09ca17
2 changed files with 2 additions and 0 deletions

View File

@ -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 {

View File

@ -410,6 +410,7 @@ typedef struct SPICE_ATTR_PACKED QXLImageID {
enum {
QXL_IMAGE_CACHE = (1 << 0),
QXL_IMAGE_HIGH_BITS_SET = (1 << 1),
};
enum {