summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2017-02-04 19:16:02 +1100
committerJames Ross-Gowan <rossymiles@gmail.com>2017-02-07 22:45:07 +1100
commite0250b9604b24f32d53b409d8c48d16faa2caebc (patch)
tree2cc257cbc78b4d949feace4356d487869de20e3d /wscript
parent5fbad204a6d059a1ee997567d0ff470384736820 (diff)
downloadmpv-e0250b9604b24f32d53b409d8c48d16faa2caebc.tar.bz2
mpv-e0250b9604b24f32d53b409d8c48d16faa2caebc.tar.xz
vo_opengl: angle: rewrite with custom swap chain
This replaces the old backend that exclusively used EGL windowing with one that can also use ANGLE's ability to render to directly to a texture. The advantage of this is that it allows mpv to create the swap chain itself and this allows mpv to use a flip-mode swap chain on a HWND (which avoids problems with DirectComposition) and to use a longer swap chain that has six backbuffers by default (which reportedly fixes problems with rendering 24fps video on 24Hz monitors.) Also, "screenshot window" should now work on DXGI 1.2 and up (Windows 8 and up.)
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index 2cddc830d7..e660ff7003 100644
--- a/wscript
+++ b/wscript
@@ -792,7 +792,8 @@ video_output_features = [
}, {
'name': 'egl-helpers',
'desc': 'EGL helper functions',
- 'deps_any': [ 'egl-x11', 'mali-fbdev', 'rpi', 'gl-wayland', 'egl-drm' ],
+ 'deps_any': [ 'egl-x11', 'mali-fbdev', 'rpi', 'gl-wayland', 'egl-drm',
+ 'egl-angle' ],
'func': check_true
}
]