mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-25 06:15:35 +00:00
hle: service: nvflinger: buffer_queue_core: Cleanup & fixes.
This commit is contained in:
parent
f9371f36a4
commit
7610554b1e
|
@ -95,7 +95,6 @@ void BufferQueueCore::FreeBufferLocked(s32 slot) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BufferQueueCore::FreeAllBuffersLocked() {
|
void BufferQueueCore::FreeAllBuffersLocked() {
|
||||||
queue.clear();
|
|
||||||
buffer_has_been_queued = false;
|
buffer_has_been_queued = false;
|
||||||
|
|
||||||
for (s32 slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) {
|
for (s32 slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) {
|
||||||
|
|
|
@ -73,8 +73,6 @@ private:
|
||||||
u32 transform_hint{};
|
u32 transform_hint{};
|
||||||
bool is_allocating{};
|
bool is_allocating{};
|
||||||
mutable std::condition_variable_any is_allocating_condition;
|
mutable std::condition_variable_any is_allocating_condition;
|
||||||
bool allow_allocation{true};
|
|
||||||
u64 buffer_age{};
|
|
||||||
bool is_shutting_down{};
|
bool is_shutting_down{};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue