Revert "d3d11: Add support for D3D11_USAGE_DYNAMIC"
authorSeungha Yang <seungha.yang@navercorp.com>
Fri, 10 Jan 2020 11:44:19 +0000 (20:44 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Mon, 13 Jan 2020 01:58:08 +0000 (01:58 +0000)
commit9ee40679b5fd253b35303abd9f2a78d5de730d16
treefcc6d6eddd1602fc7f8921bc98516974ba61d422
parent8e87fe42addb255c4001fa50f7bc08d75f02f88f
Revert "d3d11: Add support for D3D11_USAGE_DYNAMIC"

This reverts commit ddd13fc7c061a9873b181d0de32aaf9546e7d0af

Dynamic usage can reduce the number of copy per frame but make
things complicated and the benefit seems to not significant.
Also since we don't provide _map() method for the dynamic usage,
application cannot read buffers which make "last-sample" property
unusable in case of d3d11videosink.
13 files changed:
sys/d3d11/gstd3d11bufferpool.c
sys/d3d11/gstd3d11colorconvert.c
sys/d3d11/gstd3d11decoder.c
sys/d3d11/gstd3d11download.c
sys/d3d11/gstd3d11h264dec.c
sys/d3d11/gstd3d11h265dec.c
sys/d3d11/gstd3d11memory.c
sys/d3d11/gstd3d11memory.h
sys/d3d11/gstd3d11upload.c
sys/d3d11/gstd3d11utils.c
sys/d3d11/gstd3d11utils.h
sys/d3d11/gstd3d11videosink.c
sys/d3d11/gstd3d11vp9dec.c