mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-23 20:58:32 -05:00
nvflinger: Implement swap intervals
This commit is contained in:
committed by
FernandoS27
parent
772c86a260
commit
ceb5f5079c
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user