client API, dxva2: add a workaround for OpenGL fullscreen issues

This is basically a hack for drivers which prevent the mpv DXVA2 decoder
glue from working if OpenGL is in fullscreen mode.

Since it doesn't add any "hard" new API to the client API, some of the
code would be required for a true zero-copy hw decoding pipeline, and
sine it isn't too much code after all, this is probably acceptable.
This commit is contained in:
wm4
2015-07-03 16:37:01 +02:00
parent b85321d057
commit 561416597e
8 changed files with 101 additions and 0 deletions

View File

@@ -334,6 +334,7 @@ def build(ctx):
( "video/out/gl_common.c", "gl" ),
( "video/out/gl_rpi.c", "rpi-gles" ),
( "video/out/gl_hwdec.c", "gl" ),
( "video/out/gl_hwdec_dxva2.c", "gl-win32" ),
( "video/out/gl_hwdec_vaglx.c", "vaapi-glx" ),
( "video/out/gl_hwdec_vda.c", "vda-gl" ),
( "video/out/gl_hwdec_vdpau.c", "vdpau-gl-x11" ),