diff options
author | Philip Langdale <philipl@overt.org> | 2019-09-14 20:05:21 -0700 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2019-09-15 17:51:47 -0700 |
commit | fa0a905ea07bd5691b8853806bae550749e47d30 (patch) | |
tree | cde7a1a5d5ec0ccc87b3f57f7f33ef7f718c7bc8 /wscript_build.py | |
parent | 237f5fa1b7302d61466991d109179f86ce00b8bb (diff) | |
download | mpv-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_build.py')
-rw-r--r-- | wscript_build.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py index 69d8937ab7..127fe820fe 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -435,6 +435,8 @@ def build(ctx): ( "video/out/hwdec/hwdec_cuda_gl.c", "cuda-hwaccel && gl" ), ( "video/out/hwdec/hwdec_cuda_vk.c", "cuda-hwaccel && vulkan" ), ( "video/out/hwdec/hwdec_vaapi.c", "vaapi-egl || vaapi-vulkan" ), + ( "video/out/hwdec/hwdec_vaapi_gl.c", "vaapi-egl" ), + ( "video/out/hwdec/hwdec_vaapi_vk.c", "vaapi-vulkan" ), ( "video/out/placebo/ra_pl.c", "libplacebo" ), ( "video/out/placebo/utils.c", "libplacebo" ), ( "video/out/opengl/angle_dynamic.c", "egl-angle" ), |