30 void delayScheduleRepaint();
31 void scheduleRepaint();
32 void maybeScheduleRepaint();
34 void notifyFrameFailed();
35 void notifyFrameCompleted(std::chrono::nanoseconds timestamp, std::chrono::nanoseconds renderTime,
PresentationMode mode = PresentationMode::VSync);
36 void notifyVblank(std::chrono::nanoseconds timestamp);
40 std::chrono::nanoseconds lastPresentationTimestamp = std::chrono::nanoseconds::zero();
41 std::chrono::nanoseconds nextPresentationTimestamp = std::chrono::nanoseconds::zero();
44 int refreshRate = 60000;
45 int pendingFrameCount = 0;
47 bool pendingReschedule =
false;
48 bool pendingRepaint =
false;
49 std::chrono::nanoseconds safetyMargin{0};