mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-23 08:37:52 +00:00
Rework multi-core vsync
This commit is contained in:
parent
91611a724c
commit
ea06b32a00
2 changed files with 30 additions and 17 deletions
|
|
@ -126,12 +126,15 @@ private:
|
|||
u32 swap_interval = 1;
|
||||
|
||||
/// Event that handles screen composition.
|
||||
std::shared_ptr<Core::Timing::EventType> composition_event;
|
||||
std::shared_ptr<Core::Timing::EventType> multi_composition_event;
|
||||
std::shared_ptr<Core::Timing::EventType> single_composition_event;
|
||||
|
||||
std::shared_ptr<std::mutex> guard;
|
||||
|
||||
Core::System& system;
|
||||
|
||||
std::atomic<bool> vsync_signal;
|
||||
|
||||
std::jthread vsync_thread;
|
||||
|
||||
KernelHelpers::ServiceContext service_context;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue