aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-02-12 15:21:18 +0400
committerGerd Hoffmann <kraxel@redhat.com>2017-02-20 12:44:32 +0100
commit7b5255083b7965b427052b5a0b911e51556139ca (patch)
treeb7eee183e7441a168caeb2612cc2c18133da2118 /include/ui
parentad584d37f2a86b392c25f3f00cc1f1532676c2d1 (diff)
downloadqemu-7b5255083b7965b427052b5a0b911e51556139ca.zip
qemu-7b5255083b7965b427052b5a0b911e51556139ca.tar.gz
qemu-7b5255083b7965b427052b5a0b911e51556139ca.tar.bz2
spice: allow to specify drm rendernode
When multiple GPU are available, picking the first one isn't always the best choice. Learn to specify a device rendernode. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20170212112118.16044-1-marcandre.lureau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/egl-helpers.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ui/egl-helpers.h b/include/ui/egl-helpers.h
index 03fcf4b..88a13e8 100644
--- a/include/ui/egl-helpers.h
+++ b/include/ui/egl-helpers.h
@@ -14,8 +14,7 @@ extern int qemu_egl_rn_fd;
extern struct gbm_device *qemu_egl_rn_gbm_dev;
extern EGLContext qemu_egl_rn_ctx;
-int qemu_egl_rendernode_open(void);
-int egl_rendernode_init(void);
+int egl_rendernode_init(const char *rendernode);
int egl_get_fd_for_texture(uint32_t tex_id, EGLint *stride, EGLint *fourcc);
#endif