nvflinger: Implement swap intervals

This commit is contained in:
Fernando Sahmkow
2019-06-04 16:10:07 -04:00
committed by FernandoS27
parent 772c86a260
commit ceb5f5079c
5 changed files with 21 additions and 8 deletions

View File

@ -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;