vo: add new vaapi-wayland driver

This driver makes use of dmabuffer and viewporter interfaces
to enable efficient display of vaapi surfaces, avoiding
any unnecessary colour space conversion, and avoiding scaling
or colour conversion using GPU shader resources.
This commit is contained in:
Aaron Boxer
2022-05-18 10:35:53 -04:00
committed by Dudemanguy
parent 9022b1b51d
commit defb02daa4
12 changed files with 992 additions and 4 deletions

View File

@@ -1432,10 +1432,16 @@ vaapi_wayland = {
'deps': dependency('libva-wayland', version: '>= 1.1.0', required: get_option('vaapi-wayland')),
}
vaapi_wayland += {'use': vaapi['use'] and egl_wayland['use'] and vaapi_wayland['deps'].found()}
if vaapi_wayland['use']
features += vaapi_wayland['name']
endif
if vaapi_wayland['use'] and memfd_create
features += 'vaapi-wayland-memfd'
sources += files('video/out/vo_vaapi_wayland.c')
endif
vaapi_x11 = {
'name': 'vaapi-x11',
'deps': dependency('libva-x11', version: '>= 1.1.0', required: get_option('vaapi-x11')),