diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-02-12 15:21:18 +0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-20 12:44:32 +0100 |
commit | 7b5255083b7965b427052b5a0b911e51556139ca (patch) | |
tree | b7eee183e7441a168caeb2612cc2c18133da2118 /include/ui/egl-helpers.h | |
parent | ad584d37f2a86b392c25f3f00cc1f1532676c2d1 (diff) |
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/egl-helpers.h')
-rw-r--r-- | include/ui/egl-helpers.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ui/egl-helpers.h b/include/ui/egl-helpers.h index 03fcf4bba2..88a13e827b 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 |