summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-07-31 12:59:15 -0700
committerPhilip Langdale <github.philipl@overt.org>2022-08-03 16:56:17 -0700
commit64f4249604a99f19edd45ee1412a689259c685a6 (patch)
tree4c64dfa596e7ea8d85aa031f7bd959dc2e29ec0c /wscript_build.py
parente9e50595895f3b467f36de2babdfdd8f3ba85452 (diff)
downloadmpv-64f4249604a99f19edd45ee1412a689259c685a6.tar.bz2
mpv-64f4249604a99f19edd45ee1412a689259c685a6.tar.xz
hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs
Annoyingly, libva and libdrm use different structs to describe dmabufs and if we are going to support drmprime, we must pick one format and do some shuffling in the other case. I've decided to use AVDRMFrameDescriptor as our internal format as this removes the libva dependency from dmabuf_interop. That means that the future drmprime hwdec will be able to populate it directly and the existing hwdec_vaapi needs to copy the struct members around, but that's cheap and not a concern.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 93d4ddd992..a5905cdab8 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -471,8 +471,8 @@ def build(ctx):
( "video/out/hwdec/hwdec_cuda_gl.c", "cuda-interop && gl" ),
( "video/out/hwdec/hwdec_cuda_vk.c", "cuda-interop && vulkan" ),
( "video/out/hwdec/hwdec_vaapi.c", "vaapi-egl || vaapi-libplacebo" ),
- ( "video/out/hwdec/dmabuf_interop_gl.c", "vaapi-egl" ),
- ( "video/out/hwdec/dmabuf_interop_pl.c", "vaapi-libplacebo" ),
+ ( "video/out/hwdec/dmabuf_interop_gl.c", "dmabuf-interop-gl" ),
+ ( "video/out/hwdec/dmabuf_interop_pl.c", "dmabuf-interop-pl" ),
( "video/out/libmpv_sw.c" ),
( "video/out/placebo/ra_pl.c", "libplacebo" ),
( "video/out/placebo/utils.c", "libplacebo" ),