summaryrefslogtreecommitdiff
path: root/spice
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-05-18 17:26:47 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-05-18 17:26:47 +0200
commit73b175849c1952c8bf109ad35720ccaf511cd7b9 (patch)
tree78565e3eef1e8ed5d5335e57f2f92a2ed5f1f404 /spice
parentb07c09ca170ba1a157e99f27b90cc362e0f86bb2 (diff)
add QXL_SURF_FLAG_KEEP_DATA
Diffstat (limited to 'spice')
-rw-r--r--spice/qxl_dev.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 80e5e08..6182953 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -155,7 +155,9 @@ typedef struct SPICE_ATTR_PACKED QXLMemSlot {
uint64_t mem_end;
} QXLMemSlot;
-#define QXL_SURF_TYPE_PRIMARY 0
+#define QXL_SURF_TYPE_PRIMARY 0
+
+#define QXL_SURF_FLAG_KEEP_DATA (1 << 0)
typedef struct SPICE_ATTR_PACKED QXLSurfaceCreate {
uint32_t width;