5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_VSYNC_WAITER_IOS_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_VSYNC_WAITER_IOS_H_
8#include <QuartzCore/CADisplayLink.h>
10#include "flutter/fml/macros.h"
11#include "flutter/shell/common/variable_refresh_rate_reporter.h"
12#include "flutter/shell/common/vsync_waiter.h"
46@property(nonatomic, assign)
BOOL allowPauseAfterVsync;
60- (void)setMaxRefreshRate:(
double)refreshRate;
73 double GetRefreshRate()
const override;
77 void AwaitVSync()
override;
81 double max_refresh_rate_;
std::function< void(std::unique_ptr< FrameTimingsRecorder >)> Callback
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
BOOL maxRefreshRateEnabledOnIPhone
double displayRefreshRate
The display refresh rate used for reporting purposes. The engine does not care about this for frame s...