aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-06-06 13:06:18 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-06-14 09:52:35 +0200
commitfe5c44f9c95be3f74fb58902077ac587998d1392 (patch)
tree685c6daa52014121a16531135190a49070bd4912 /include
parent8f4ea9cd0b770dbe496d9d24f0ef8813fdbfe0d0 (diff)
downloadqemu-fe5c44f9c95be3f74fb58902077ac587998d1392.zip
qemu-fe5c44f9c95be3f74fb58902077ac587998d1392.tar.gz
qemu-fe5c44f9c95be3f74fb58902077ac587998d1392.tar.bz2
spice: don't enter opengl mode in case another UI provides opengl support
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20170606110618.10393-1-kraxel@redhat.com
Diffstat (limited to 'include')
-rw-r--r--include/ui/spice-display.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/spice-display.h b/include/ui/spice-display.h
index 184d4c3..4ba9444 100644
--- a/include/ui/spice-display.h
+++ b/include/ui/spice-display.h
@@ -140,6 +140,8 @@ struct SimpleSpiceCursor {
QXLCursor cursor;
};
+extern bool spice_opengl;
+
int qemu_spice_rect_is_empty(const QXLRect* r);
void qemu_spice_rect_union(QXLRect *dest, const QXLRect *r);