summaryrefslogtreecommitdiffstats
path: root/audio/mixer.c
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2015-12-01 00:56:02 +1100
committerMartin Herkt <lachs0r@srsfckn.biz>2015-12-11 18:29:18 +0100
commit3d12312806e7d54e7bb6b4b2a5981999735f6233 (patch)
tree8aa8908b1727a314860bfeb6a3752272e3bbc4b4 /audio/mixer.c
parenta6521f394122ee1ce097ceba5d0fc18ad4fd7e7a (diff)
downloadmpv-3d12312806e7d54e7bb6b4b2a5981999735f6233.tar.bz2
mpv-3d12312806e7d54e7bb6b4b2a5981999735f6233.tar.xz
vo_opengl: add dxinterop backend
WGL_NV_DX_interop is widely supported by Nvidia and AMD drivers. It allows a texture to be shared between Direct3D and WGL, so that rendering can be done with WGL and presentation can be done with Direct3D. This should allow us to work around some persistent WGL issues, such as dropped frames with some driver/OS combos, drivers that buffer frames to increase performance at the cost of latency, and the inability to disable exclusive fullscreen mode when using WGL to render to a fullscreen window. The addition of a DX_interop backend might also enable some cool Direct3D-specific enhancements in the future, such as using the GetPresentStatistics API to get accurate frame presentation timestamps. Note that due to a driver bug, this backend is currently broken on Intel. It will appear to work as long as the window is not resized too often, but after a few changes of size it will be unable to share the newly created renderbuffer with GL. See: https://software.intel.com/en-us/forums/graphics-driver-bug-reporting/topic/562051
Diffstat (limited to 'audio/mixer.c')
0 files changed, 0 insertions, 0 deletions