summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-19 15:50:33 +0100
committerLiam <byteslice@airmail.cc>2024-02-20 05:59:35 +0100
commit668ff0db3a436e97578cc29ae8b783a58aedb237 (patch)
tree5b395b9c6fb52b20306e8d86fcbf9c3b20081c79 /src/core
parentnvnflinger/vi: don't recreate buffer queue on open/close (diff)
downloadyuzu-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 'src/core')
-rw-r--r--src/core/hle/service/vi/shared_buffer_manager.cpp8
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));