summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2019-09-14 20:05:21 -0700
committerPhilip Langdale <philipl@overt.org>2019-09-15 17:51:47 -0700
commitfa0a905ea07bd5691b8853806bae550749e47d30 (patch)
treecde7a1a5d5ec0ccc87b3f57f7f33ef7f718c7bc8 /wscript
parent237f5fa1b7302d61466991d109179f86ce00b8bb (diff)
downloadmpv-fa0a905ea07bd5691b8853806bae550749e47d30.tar.bz2
mpv-fa0a905ea07bd5691b8853806bae550749e47d30.tar.xz
vo_gpu: hwdec_vaapi: Refactor Vulkan and OpenGL interops for VAAPI
Like hwdec_cuda, you get a big #ifdef mess if you try and keep the OpenGL and Vulkan interops in the same file. So, I've refactored them into separate files in a similar way.
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 1 insertions, 6 deletions
diff --git a/wscript b/wscript
index 28ca89d218..a979b33ac5 100644
--- a/wscript
+++ b/wscript
@@ -700,11 +700,6 @@ video_output_features = [
'deps': 'vaapi && egl-drm',
'func': check_pkg_config('libva-drm', '>= 0.36.0'),
}, {
- 'name': '--vaapi-glx',
- 'desc': 'VAAPI GLX',
- 'deps': 'gpl && vaapi-x11 && gl-x11',
- 'func': check_true,
- }, {
'name': '--vaapi-x-egl',
'desc': 'VAAPI EGL on X11',
'deps': 'vaapi-x11 && egl-x11',
@@ -712,7 +707,7 @@ video_output_features = [
}, {
'name': 'vaapi-egl',
'desc': 'VAAPI EGL',
- 'deps': 'vaapi-x-egl || vaapi-wayland',
+ 'deps': 'vaapi-x-egl || vaapi-wayland || vaapi-drm',
'func': check_true,
}, {
'name': '--caca',