diff options
| author | 2022-04-01 22:56:32 -0700 | |
|---|---|---|
| committer | 2022-04-01 22:56:32 -0700 | |
| commit | 7610554b1e87294fc946ca62ce01258a4b238151 (patch) | |
| tree | 89702efe43918da81ef9399fc69a890a0b58ef80 /src | |
| parent | hle: service: nvflinger: Use correct logger namespace. (diff) | |
| download | yuzu-7610554b1e87294fc946ca62ce01258a4b238151.tar.gz yuzu-7610554b1e87294fc946ca62ce01258a4b238151.tar.xz yuzu-7610554b1e87294fc946ca62ce01258a4b238151.zip | |
hle: service: nvflinger: buffer_queue_core: Cleanup & fixes.
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue_core.cpp | 1 | ||||
| -rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue_core.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue_core.cpp b/src/core/hle/service/nvflinger/buffer_queue_core.cpp index 6082610e0..3a0481786 100644 --- a/src/core/hle/service/nvflinger/buffer_queue_core.cpp +++ b/src/core/hle/service/nvflinger/buffer_queue_core.cpp | |||
| @@ -95,7 +95,6 @@ void BufferQueueCore::FreeBufferLocked(s32 slot) { | |||
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | void BufferQueueCore::FreeAllBuffersLocked() { | 97 | void BufferQueueCore::FreeAllBuffersLocked() { |
| 98 | queue.clear(); | ||
| 99 | buffer_has_been_queued = false; | 98 | buffer_has_been_queued = false; |
| 100 | 99 | ||
| 101 | for (s32 slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) { | 100 | for (s32 slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) { |
diff --git a/src/core/hle/service/nvflinger/buffer_queue_core.h b/src/core/hle/service/nvflinger/buffer_queue_core.h index 4dfd53387..e4e0937cb 100644 --- a/src/core/hle/service/nvflinger/buffer_queue_core.h +++ b/src/core/hle/service/nvflinger/buffer_queue_core.h | |||
| @@ -73,8 +73,6 @@ private: | |||
| 73 | u32 transform_hint{}; | 73 | u32 transform_hint{}; |
| 74 | bool is_allocating{}; | 74 | bool is_allocating{}; |
| 75 | mutable std::condition_variable_any is_allocating_condition; | 75 | mutable std::condition_variable_any is_allocating_condition; |
| 76 | bool allow_allocation{true}; | ||
| 77 | u64 buffer_age{}; | ||
| 78 | bool is_shutting_down{}; | 76 | bool is_shutting_down{}; |
| 79 | }; | 77 | }; |
| 80 | 78 | ||