mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-23 16:48:09 +00:00
service: nvflinger: Improve synchronization for BufferQueue.
- Use proper mechanisms for blocking on DequeueBuffer. - Ensure service thread terminates on emulation Shutdown.
This commit is contained in:
parent
8cf0ba96d9
commit
b1b4edec05
5 changed files with 72 additions and 19 deletions
|
@ -107,7 +107,7 @@ private:
|
|||
std::shared_ptr<Nvidia::Module> nvdrv;
|
||||
|
||||
std::vector<VI::Display> displays;
|
||||
std::vector<BufferQueue> buffer_queues;
|
||||
std::vector<std::unique_ptr<BufferQueue>> buffer_queues;
|
||||
|
||||
/// Id to use for the next layer that is created, this counter is shared among all displays.
|
||||
u64 next_layer_id = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue