mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-20 17:37:49 +00:00
nvflinger: Implement swap intervals
This commit is contained in:
parent
3f7c8053c6
commit
feac2e189e
5 changed files with 21 additions and 8 deletions
|
@ -74,6 +74,8 @@ public:
|
|||
/// finished.
|
||||
void Compose();
|
||||
|
||||
s64 GetNextTicks();
|
||||
|
||||
private:
|
||||
/// Finds the display identified by the specified ID.
|
||||
VI::Display* FindDisplay(u64 display_id);
|
||||
|
@ -98,6 +100,8 @@ private:
|
|||
/// layers.
|
||||
u32 next_buffer_queue_id = 1;
|
||||
|
||||
u32 swap_interval = 1;
|
||||
|
||||
/// Event that handles screen composition.
|
||||
Core::Timing::EventType* composition_event;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue