diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-01-04 07:36:41 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-01-04 07:36:41 +0100 |
commit | 6b354ccaee6988b91a97b1b70b4d84bd4d244cb1 (patch) | |
tree | 5ea690f449513946d02d4777806e2abc497fe9d1 /src/core/hle/service/nvflinger/buffer_queue.h | |
parent | Merge pull request #5286 from ReinUsesLisp/rename-vk-device (diff) | |
download | yuzu-6b354ccaee6988b91a97b1b70b4d84bd4d244cb1.tar yuzu-6b354ccaee6988b91a97b1b70b4d84bd4d244cb1.tar.gz yuzu-6b354ccaee6988b91a97b1b70b4d84bd4d244cb1.tar.bz2 yuzu-6b354ccaee6988b91a97b1b70b4d84bd4d244cb1.tar.lz yuzu-6b354ccaee6988b91a97b1b70b4d84bd4d244cb1.tar.xz yuzu-6b354ccaee6988b91a97b1b70b4d84bd4d244cb1.tar.zst yuzu-6b354ccaee6988b91a97b1b70b4d84bd4d244cb1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.h b/src/core/hle/service/nvflinger/buffer_queue.h index a2f60d9eb..ad7469277 100644 --- a/src/core/hle/service/nvflinger/buffer_queue.h +++ b/src/core/hle/service/nvflinger/buffer_queue.h @@ -129,8 +129,10 @@ private: std::list<u32> queue_sequence; Kernel::EventPair buffer_wait_event; - std::mutex queue_mutex; - std::condition_variable condition; + std::mutex free_buffers_mutex; + std::condition_variable free_buffers_condition; + + std::mutex queue_sequence_mutex; }; } // namespace Service::NVFlinger |