path: root/
diff options
authorwm4 <wm4@nowhere>2017-03-18 17:43:57 +0100
committerwm4 <wm4@nowhere>2017-03-18 17:43:57 +0100
commitc3248369ac501efb70f0142b909e85a19aed77d2 (patch)
tree5972dadcf264ffd2eff237a18b2c31a4c3063880 /
parentbe8c9485b65f085e79f9e00689a721eb8fbdc7f8 (diff)
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 '')
1 files changed, 1 insertions, 0 deletions
diff --git a/ b/
index 4371426f1f..4934bd64f7 100644
--- a/
+++ b/
@@ -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" ),