Revert "d3d11: Enable native multi-thread protection layer and make use of it"
authorSeungha Yang <seungha@centricular.com>
Sat, 20 Mar 2021 07:15:35 +0000 (16:15 +0900)
committerSeungha Yang <seungha@centricular.com>
Sat, 20 Mar 2021 08:53:58 +0000 (17:53 +0900)
commit824b0ce0f417ac2e947d4c129688eb3ae045ffcb
tree1e614c8b8b33f8c750f61351bce37aefcf25db22
parente463bcfadffe97f2fb525a89706f93d7105ca99f
Revert "d3d11: Enable native multi-thread protection layer and make use of it"

This reverts commit 872b7f503c49442e559f6a381416c6a84b76a3c6.

Native multi-thread protection layer seems to be consuming more CPU
resource than application side protection approach in some cases

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2095>
18 files changed:
gst-libs/gst/d3d11/gstd3d11device.c
gst-libs/gst/d3d11/gstd3d11memory.c
gst-libs/gst/d3d11/meson.build
sys/d3d11/gstd3d11compositor.cpp
sys/d3d11/gstd3d11convert.cpp
sys/d3d11/gstd3d11converter.cpp
sys/d3d11/gstd3d11decoder.cpp
sys/d3d11/gstd3d11deinterlace.cpp
sys/d3d11/gstd3d11desktopdup.cpp
sys/d3d11/gstd3d11overlaycompositor.cpp
sys/d3d11/gstd3d11pluginutils.cpp
sys/d3d11/gstd3d11videoprocessor.cpp
sys/d3d11/gstd3d11window.cpp
sys/d3d11/gstd3d11window_corewindow.cpp
sys/d3d11/gstd3d11window_dummy.cpp
sys/d3d11/gstd3d11window_swapchainpanel.cpp
sys/d3d11/gstd3d11window_win32.cpp
sys/mediafoundation/gstmfvideoenc.cpp