summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-03-18 17:43:57 +0100
committerwm4 <wm4@nowhere>2017-03-18 17:43:57 +0100
commitc3248369ac501efb70f0142b909e85a19aed77d2 (patch)
tree5972dadcf264ffd2eff237a18b2c31a4c3063880 /wscript_build.py
parentbe8c9485b65f085e79f9e00689a721eb8fbdc7f8 (diff)
downloadmpv-c3248369ac501efb70f0142b909e85a19aed77d2.tar.bz2
mpv-c3248369ac501efb70f0142b909e85a19aed77d2.tar.xz
vo_opengl: add experimental vdpauglx backend
As the manpage says, this has no value other than adding bugs. It uses code based on context_x11.c, and basically does very stripped down context creation (no alpha support etc.). It uses vdpau for display, and maps vdpau output surfaces as FBOs to render into them. This might be good to experiment with asynchronous presentation. For now, it presents synchronously, with a 4 frame delay (which should whack off A/V sync). The forced 4 frame delay is probably also why interaction feels slower. There are some weird vdpau errors on resizing and uninit. No idea what causes them.
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 4371426f1f..4934bd64f7 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -354,6 +354,7 @@ def build(ctx):
( "video/out/opengl/context_dxinterop.c","gl-dxinterop" ),
( "video/out/opengl/context_mali_fbdev.c","mali-fbdev" ),
( "video/out/opengl/context_rpi.c", "rpi" ),
+ ( "video/out/opengl/context_vdpau.c", "vdpau-gl-x11" ),
( "video/out/opengl/context_wayland.c", "gl-wayland" ),
( "video/out/opengl/context_w32.c", "gl-win32" ),
( "video/out/opengl/context_x11.c", "gl-x11" ),