summaryrefslogtreecommitdiffstats
path: root/ui/spice-display.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-09-04 11:39:41 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-09-05 17:11:56 +0200
commitddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47 (patch)
treee707cd43a4c5343fec49f89ac868db51e06c1853 /ui/spice-display.h
parent2e0e3c399aa8067148055b9ea0edb822c5b584d2 (diff)
downloadhqemu-ddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47.zip
hqemu-ddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47.tar.gz
spice: make number of surfaces runtime-configurable.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/spice-display.h')
-rw-r--r--ui/spice-display.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/spice-display.h b/ui/spice-display.h
index bcff114..512ab78 100644
--- a/ui/spice-display.h
+++ b/ui/spice-display.h
@@ -32,8 +32,6 @@
#define MEMSLOT_GROUP_GUEST 1
#define NUM_MEMSLOTS_GROUPS 2
-#define NUM_SURFACES 1024
-
/*
* Internal enum to differenciate between options for
* io calls that have a sync (old) version and an _async (new)
@@ -80,6 +78,7 @@ struct SimpleSpiceDisplay {
QXLInstance qxl;
uint32_t unique;
QemuPfConv *conv;
+ int32_t num_surfaces;
QXLRect dirty;
int notify;
OpenPOWER on IntegriCloud