summaryrefslogtreecommitdiffstats
path: root/video/out/d3d11/context.c
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossy@jrg.systems>2018-01-02 22:38:46 +1100
committerJames Ross-Gowan <rossy@jrg.systems>2018-01-04 22:08:10 +1100
commitbaa18f76ca41fe92c6b7ed9f73a33b8b4de1337e (patch)
treeb636ccead17dae62075c8da4a111301ea9a5c015 /video/out/d3d11/context.c
parente894f75bb570e20966d64607aa69d64ba9022bd8 (diff)
downloadmpv-baa18f76ca41fe92c6b7ed9f73a33b8b4de1337e.tar.bz2
mpv-baa18f76ca41fe92c6b7ed9f73a33b8b4de1337e.tar.xz
vo_gpu: d3d11: don't use a bgra8 swapchain
Previously, mpv would attempt to use a BGRA swapchain in the hope that it would give better performance, since the Windows desktop is also composited in BGRA. In practice, it seems like there is no noticable performance difference between RGBA and BGRA swapchains and BGRA swapchains cause trouble with a42b8b1142fd, which attempts to use the swapchain format for intermediate FBOs, even though D3D11 does not guarantee BGRA surfaces will work with UAV typed stores.
Diffstat (limited to 'video/out/d3d11/context.c')
0 files changed, 0 insertions, 0 deletions