diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-10-07 17:49:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 21:35:49 +0200 |
commit | 05cb8d28afd8881667c3dea297b182a2ecdd91c8 (patch) | |
tree | aa6adbdf905f833805890e934be5db3530df09a7 /waftools/checks/custom.py | |
parent | 2ecf240b1cd20875991a5b18efafbe799864ff7f (diff) | |
download | mpv-05cb8d28afd8881667c3dea297b182a2ecdd91c8.tar.bz2 mpv-05cb8d28afd8881667c3dea297b182a2ecdd91c8.tar.xz |
vo_opengl: hwdec_vaegl: Use vaExportSurfaceHandle() if present
This new interface in libva2 offers a cleaner way to export surfaces
which can then be imported to EGL. In particular, this works with
the Mesa driver, so we can have proper playback without a pointless
download and upload on AMD cards.
This change does nothing with libva1, and will fall back to the
libva1 interface (vaDeriveImage() + vaAcquireBufferHandle()) if
vaExportSurfaceHandle() is not present.
Diffstat (limited to 'waftools/checks/custom.py')
0 files changed, 0 insertions, 0 deletions