summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-02-14 03:46:17 -0800
committerKevin Mitchell <kevmitch@gmail.com>2016-02-17 09:07:12 -0800
commit2d1f42089c31cd3238129303b13e1aa5ddfcfce2 (patch)
tree44ce8f27aafea244cbfd576c385cbc026d79184d /wscript_build.py
parent084162d6fe9033cb3499a7013a2489a70e1aed93 (diff)
downloadmpv-2d1f42089c31cd3238129303b13e1aa5ddfcfce2.tar.bz2
mpv-2d1f42089c31cd3238129303b13e1aa5ddfcfce2.tar.xz
vo_opengl: dxinterop: add dxva2 passthrough
Use dxva2 surface to fill RGB IDirect3DSurface9 shared with opengl via DXRegisterObjectNV.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index d759a6132b..8bcf054db6 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -337,6 +337,7 @@ def build(ctx):
( "video/out/opengl/egl_helpers.c", "egl-helpers" ),
( "video/out/opengl/hwdec.c", "gl" ),
( "video/out/opengl/hwdec_dxva2.c", "gl-win32" ),
+ ( "video/out/opengl/hwdec_dxva2gldx.c", "dxva2-dxinterop" ),
( "video/out/opengl/hwdec_vaegl.c", "vaapi-egl" ),
( "video/out/opengl/hwdec_vaglx.c", "vaapi-glx" ),
( "video/out/opengl/hwdec_osx.c", "videotoolbox-gl" ),