mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 05:50:37 +00:00
0c27b9c568
For similar reasons as commit 3af1671852
("spice: flush on GL update
before notifying client"), vhost-user-gpu must ensure the GL state is
flushed before sharing its rendering result.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210312100108.2706195-3-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
14 lines
661 B
Meson
14 lines
661 B
Meson
if 'CONFIG_TOOLS' in config_host and 'CONFIG_VIRGL' in config_host \
|
|
and 'CONFIG_GBM' in config_host and 'CONFIG_LINUX' in config_host \
|
|
and pixman.found()
|
|
executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'),
|
|
dependencies: [qemuutil, pixman, gbm, virgl, vhost_user, opengl],
|
|
install: true,
|
|
install_dir: get_option('libexecdir'))
|
|
|
|
configure_file(input: '50-qemu-gpu.json.in',
|
|
output: '50-qemu-gpu.json',
|
|
configuration: { 'libexecdir' : get_option('prefix') / get_option('libexecdir') },
|
|
install_dir: qemu_datadir / 'vhost-user')
|
|
endif
|