summaryrefslogtreecommitdiffstats
path: root/video/out/gpu
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-10-07 17:49:56 +0100
committerwm4 <wm4@nowhere>2017-10-09 21:35:49 +0200
commit05cb8d28afd8881667c3dea297b182a2ecdd91c8 (patch)
treeaa6adbdf905f833805890e934be5db3530df09a7 /video/out/gpu
parent2ecf240b1cd20875991a5b18efafbe799864ff7f (diff)
downloadmpv-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 'video/out/gpu')
0 files changed, 0 insertions, 0 deletions