summaryrefslogtreecommitdiffstats
path: root/wscript
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
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')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index bf4da47a1f..1be10f2e9c 100644
--- a/wscript
+++ b/wscript
@@ -681,6 +681,11 @@ video_output_features = [
'eglCreateWindowSurface(0, 0, 0, 0)',
lib='EGL')
} , {
+ 'name': '--dxva2-dxinterop',
+ 'desc': 'DXVA2/OpenGL/DirectX Interop',
+ 'deps': [ 'gl-dxinterop' ],
+ 'func': check_true,
+ } , {
'name': '--vdpau',
'desc': 'VDPAU acceleration',
'deps': [ 'x11' ],