mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
ui/spice: support multi plane dmabuf scanout
We need spice version >= 0.15.3 which has spice_qxl_gl_scanout2 API for multi plane scanout support. v2: * use new dmabuf API and check length * check spice_qxl_gl_scanout2 present instead of bump spice version dependency Signed-off-by: Qiang Yu <yuq825@gmail.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Tested-by: Marc-André Lureau <marcandre.lureau@redhat.com> [ Fix style ] Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20250327025848.46962-7-yuq825@gmail.com>
This commit is contained in:
parent
10aaad0edc
commit
98a050ca93
2 changed files with 69 additions and 34 deletions
|
@ -3168,6 +3168,11 @@ if host_os == 'windows'
|
|||
}''', name: '_lock_file and _unlock_file'))
|
||||
endif
|
||||
|
||||
if spice.found()
|
||||
config_host_data.set('HAVE_SPICE_QXL_GL_SCANOUT2',
|
||||
cc.has_function('spice_qxl_gl_scanout2', dependencies: spice))
|
||||
endif
|
||||
|
||||
if host_os == 'windows'
|
||||
mingw_has_setjmp_longjmp = cc.links('''
|
||||
#include <setjmp.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue