gstreamer/gst-libs/gst/d3d11
Seungha Yang 360a195158 d3d11memory: Protect map and unmap with device lock
We should lock memory object with gst_d3d11_device_lock() first
then GST_D3D11_MEMORY_LOCK() need to be used.

One observed deadlock case is that:
- Thread A takes d3d11 device lock
- At the same time, Thread B tries CPU map to d3d11memory which requires
  d3d11 device lock as well, but it's already taken by Thread A.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2267>
2021-05-20 11:19:44 +00:00
..
d3d11-prelude.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
gstd3d11.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
gstd3d11_fwd.h d3d11: Implement memory pool 2021-03-24 15:44:42 +00:00
gstd3d11_private.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
gstd3d11bufferpool.c d3d11: Implement memory pool 2021-03-24 15:44:42 +00:00
gstd3d11bufferpool.h d3d11: Implement memory pool 2021-03-24 15:44:42 +00:00
gstd3d11config.h.meson d3d11: Allow building UWP features with Desktop features if possible 2021-01-19 11:23:56 +00:00
gstd3d11device.c d3d11: Add support for BGRx and RGBx formats 2021-04-21 05:45:59 +00:00
gstd3d11device.h d3d11device: Hold ID3D11VideoDevice and ID3D11VideoContext object 2021-03-14 14:44:55 +09:00
gstd3d11format.c d3d11: Add a method for conversion from DXGI format to GstVideoFormat 2021-02-17 03:48:10 +09:00
gstd3d11format.h d3d11: Add support for BGRx and RGBx formats 2021-04-21 05:45:59 +00:00
gstd3d11memory.c d3d11memory: Protect map and unmap with device lock 2021-05-20 11:19:44 +00:00
gstd3d11memory.h Add @ prefix to enum-variant references in documentation 2021-03-28 13:08:24 +00:00
gstd3d11utils.c gst: don't use volatile to mean atomic 2021-03-22 14:34:36 +11:00
gstd3d11utils.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
meson.build Revert "d3d11: Enable native multi-thread protection layer and make use of it" 2021-03-20 17:53:58 +09:00