mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 00:07:57 -06:00
util: promote qemu_egl_rendernode_open() to libqemuutil
vhost-user-gpu will share the same code to open a DRM node. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20180713130916.4153-20-marcandre.lureau@redhat.com> [ kraxel: buildfix: util/drm.o must be CONFIG_OPENGL not CONFIG_LINUX ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
242d01336d
commit
b1d380372f
5 changed files with 76 additions and 49 deletions
6
include/qemu/drm.h
Normal file
6
include/qemu/drm.h
Normal file
|
@ -0,0 +1,6 @@
|
|||
#ifndef QEMU_DRM_H_
|
||||
#define QEMU_DRM_H_
|
||||
|
||||
int qemu_drm_rendernode_open(const char *rendernode);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue