5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERVSYNCCLIENT_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERVSYNCCLIENT_H_
8#include <QuartzCore/CADisplayLink.h>
29NS_SWIFT_NAME(DisplayLinkManager)
63NS_SWIFT_NAME(VSyncClient)
74@property(nonatomic, assign, readonly)
double refreshRate;
85@property(nonatomic, assign)
BOOL allowPauseAfterVsync;
97 isVariableRefreshRateEnabled:(
BOOL)isVariableRefreshRateEnabled
98 maxRefreshRate:(
double)maxRefreshRate
99 callback:(
void (^)(CFTimeInterval startTime,
100 CFTimeInterval targetTime))callback;
131- (void)setMaxRefreshRate:(
double)refreshRate;
NSString *const kCADisableMinimumFrameDurationOnPhoneKey
Info.plist key enabling the full range of ProMotion refresh rates for CADisplayLink callbacks and CAA...
A manager type that queries display characteristics, such as high refresh rate capabilities.
BOOL maxRefreshRateEnabledOnIPhone
Whether the max refresh rate on iPhone ProMotion devices are enabled. This reflects the value of CADi...
double displayRefreshRate
The maximum display refresh rate used for reporting purposes. This is intended to return either the h...
A client that wraps a CADisplayLink to deliver synchronized vsync signals.