From c3248369ac501efb70f0142b909e85a19aed77d2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 18 Mar 2017 17:43:57 +0100 Subject: 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. --- wscript_build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript_build.py') 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" ), -- cgit v1.2.3