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 /video/out/gpu | |
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 'video/out/gpu')
-rw-r--r-- | video/out/gpu/hwdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/hwdec.c b/video/out/gpu/hwdec.c index fc37074788..751ed5944b 100644 --- a/video/out/gpu/hwdec.c +++ b/video/out/gpu/hwdec.c @@ -42,7 +42,7 @@ extern const struct ra_hwdec_driver ra_hwdec_rpi_overlay; extern const struct ra_hwdec_driver ra_hwdec_drmprime_drm; const struct ra_hwdec_driver *const ra_hwdec_drivers[] = { -#if HAVE_VAAPI_EGL +#if HAVE_VAAPI_EGL || HAVE_VAAPI_VULKAN &ra_hwdec_vaegl, #endif #if HAVE_VIDEOTOOLBOX_GL || HAVE_IOS_GL |