diff options
author | Liam <byteslice@airmail.cc> | 2024-02-19 15:50:33 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-20 05:59:35 +0100 |
commit | 668ff0db3a436e97578cc29ae8b783a58aedb237 (patch) | |
tree | 5b395b9c6fb52b20306e8d86fcbf9c3b20081c79 /src | |
parent | nvnflinger/vi: don't recreate buffer queue on open/close (diff) | |
download | yuzu-668ff0db3a436e97578cc29ae8b783a58aedb237.tar yuzu-668ff0db3a436e97578cc29ae8b783a58aedb237.tar.gz yuzu-668ff0db3a436e97578cc29ae8b783a58aedb237.tar.bz2 yuzu-668ff0db3a436e97578cc29ae8b783a58aedb237.tar.lz yuzu-668ff0db3a436e97578cc29ae8b783a58aedb237.tar.xz yuzu-668ff0db3a436e97578cc29ae8b783a58aedb237.tar.zst yuzu-668ff0db3a436e97578cc29ae8b783a58aedb237.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/vi/shared_buffer_manager.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/hle/service/vi/shared_buffer_manager.cpp b/src/core/hle/service/vi/shared_buffer_manager.cpp index 869b18961..3c0507d30 100644 --- a/src/core/hle/service/vi/shared_buffer_manager.cpp +++ b/src/core/hle/service/vi/shared_buffer_manager.cpp @@ -322,8 +322,6 @@ Result SharedBufferManager::GetSharedBufferMemoryHandleId(u64* out_buffer_size, Result SharedBufferManager::AcquireSharedFrameBuffer(android::Fence* out_fence, std::array<s32, 4>& out_slot_indexes, s64* out_target_slot, u64 layer_id) { - std::scoped_lock lk{m_guard}; - // Get the producer. std::shared_ptr<android::BufferQueueProducer> producer; R_TRY(m_container.GetLayerProducerHandle(std::addressof(producer), layer_id)); @@ -347,8 +345,6 @@ Result SharedBufferManager::PresentSharedFrameBuffer(android::Fence fence, Common::Rectangle<s32> crop_region, u32 transform, s32 swap_interval, u64 layer_id, s64 slot) { - std::scoped_lock lk{m_guard}; - // Get the producer. std::shared_ptr<android::BufferQueueProducer> producer; R_TRY(m_container.GetLayerProducerHandle(std::addressof(producer), layer_id)); @@ -379,8 +375,6 @@ Result SharedBufferManager::PresentSharedFrameBuffer(android::Fence fence, } Result SharedBufferManager::CancelSharedFrameBuffer(u64 layer_id, s64 slot) { - std::scoped_lock lk{m_guard}; - // Get the producer. std::shared_ptr<android::BufferQueueProducer> producer; R_TRY(m_container.GetLayerProducerHandle(std::addressof(producer), layer_id)); @@ -394,8 +388,6 @@ Result SharedBufferManager::CancelSharedFrameBuffer(u64 layer_id, s64 slot) { Result SharedBufferManager::GetSharedFrameBufferAcquirableEvent(Kernel::KReadableEvent** out_event, u64 layer_id) { - std::scoped_lock lk{m_guard}; - // Get the producer. std::shared_ptr<android::BufferQueueProducer> producer; R_TRY(m_container.GetLayerProducerHandle(std::addressof(producer), layer_id)); |