mpv/video/out/d3d11
James Ross-Gowan e7bf5576e5 vo_gpu: hwdec_d3d11va: allow zero-copy video decoding
Like the manual says, this is technically undefined behaviour. See:
https://msdn.microsoft.com/en-us/library/windows/desktop/ff476085.aspx

In particular, MSDN says texture arrays created with the BIND_DECODER
flag cannot be used with CreateShaderResourceView, which means they
can't be sampled through SRVs like normal Direct3D textures. However,
some programs (Google Chrome included) do this anyway for performance
and power-usage reasons, and it appears to work with most drivers.

Older AMD drivers had a "bug" with zero-copy decoding, but this appears
to have been fixed. See #3255, #3464 and http://crbug.com/623029.
2017-11-07 20:27:13 +11:00
..
context.c vo_gpu: move d3d11_screenshot to shared code 2017-11-07 20:27:13 +11:00
hwdec_d3d11va.c vo_gpu: hwdec_d3d11va: allow zero-copy video decoding 2017-11-07 20:27:13 +11:00
ra_d3d11.c vo_gpu: hwdec_d3d11va: allow zero-copy video decoding 2017-11-07 20:27:13 +11:00
ra_d3d11.h vo_gpu: hwdec_d3d11va: allow zero-copy video decoding 2017-11-07 20:27:13 +11:00