From fa0a905ea07bd5691b8853806bae550749e47d30 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Sat, 14 Sep 2019 20:05:21 -0700 Subject: 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. --- wscript_build.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wscript_build.py') 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" ), -- cgit v1.2.3