summaryrefslogtreecommitdiff
path: root/spice
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2010-06-09 11:56:04 +0300
committerAlexander Larsson <alexl@redhat.com>2010-06-09 11:21:22 +0200
commited14a2ab2e3b84f7b81eb9bf0aa1df9dd734157d (patch)
treeca649d327dd45d251e23fb55e33d586ef3606c82 /spice
parentace7d06a7b633269ca11cd9a3fa4c84d52be9e89 (diff)
cache support for replacing images that were compressed using jpeg with lossless images
Diffstat (limited to 'spice')
-rw-r--r--spice/draw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/spice/draw.h b/spice/draw.h
index 91391c6..1cf59c8 100644
--- a/spice/draw.h
+++ b/spice/draw.h
@@ -168,11 +168,13 @@ enum {
SPICE_IMAGE_TYPE_FROM_CACHE,
SPICE_IMAGE_TYPE_SURFACE,
SPICE_IMAGE_TYPE_JPEG,
+ SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS,
};
enum {
SPICE_IMAGE_FLAGS_CACHE_ME = (1 << 0),
SPICE_IMAGE_FLAGS_HIGH_BITS_SET = (1 << 1),
+ SPICE_IMAGE_FLAGS_CACHE_REPLACE_ME = (1 << 2),
};
typedef struct SPICE_ATTR_PACKED SpiceImageDescriptor {