mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
d3d12memory: Do not wait external fence on map()
Only wait for external fence if upload or download is required. Waiting for external fence in case of d3d12 mapping is caller's responsibility Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6749>
This commit is contained in:
parent
2c203e0d40
commit
3e08cdeebe
1 changed files with 0 additions and 2 deletions
|
@ -550,8 +550,6 @@ gst_d3d12_memory_map_full (GstMemory * mem, GstMapInfo * info, gsize maxsize)
|
|||
GstMapFlags flags = info->flags;
|
||||
std::lock_guard < std::mutex > lk (priv->lock);
|
||||
|
||||
gst_d3d12_memory_set_external_fence_unlocked (dmem, nullptr, 0);
|
||||
|
||||
if ((flags & GST_MAP_D3D12) != 0) {
|
||||
gst_d3d12_memory_upload (dmem);
|
||||
|
||||
|
|
Loading…
Reference in a new issue