summaryrefslogtreecommitdiffstats
path: root/sub/osd_dummy.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-03-13 17:35:42 -0700
committerKevin Mitchell <kevmitch@gmail.com>2016-03-15 17:04:58 -0700
commitd756dd8cbf5089d57a0daacfaf20e662df333c7a (patch)
tree6c7e10b734768b8364d856c5d429f6ac78abd24e /sub/osd_dummy.c
parent95c09fa93b17e7387998a3a5ca05f11ad00b1b5f (diff)
downloadmpv-d756dd8cbf5089d57a0daacfaf20e662df333c7a.tar.bz2
mpv-d756dd8cbf5089d57a0daacfaf20e662df333c7a.tar.xz
vo_opengl: only open one OpenGL/DX interop handle when using dxva2
Previously, gl->DXOpenDeviceNV was called twice using dxva2 with dxinterop. AMD drivers refused to allow this. With this commit, context_dxinterop sets its own implementation of MPGetNativeDisplay, which can return either a IDirect3DDevice9Ex or a dxinterop_device_HANDLE depending on the "name" request string. hwdec_dxva2gldx then requests both of these avoiding the need to call gl->DXOpenDeviceNV a second time.
Diffstat (limited to 'sub/osd_dummy.c')
0 files changed, 0 insertions, 0 deletions