Flutter iOS Embedder
DisplayLinkManager Class Reference

#import <vsync_waiter_ios.h>

Inheritance diagram for DisplayLinkManager:

Class Methods

(double) + displayRefreshRate
 

Properties

BOOL maxRefreshRateEnabledOnIPhone
 
double displayRefreshRate
 The display refresh rate used for reporting purposes. The engine does not care about this for frame scheduling. It is only used by tools for instrumentation. The engine uses the duration field of the link per frame for frame scheduling. More...
 

Detailed Description

Definition at line 16 of file FlutterMetalLayer.mm.

Method Documentation

◆ displayRefreshRate

+ (double) displayRefreshRate

Property Documentation

◆ displayRefreshRate

- (double) displayRefreshRate
readnonatomicassign

The display refresh rate used for reporting purposes. The engine does not care about this for frame scheduling. It is only used by tools for instrumentation. The engine uses the duration field of the link per frame for frame scheduling.

Attention
Do not use the this call in frame scheduling. It is only meant for reporting.
Returns
The refresh rate in frames per second.

Definition at line 32 of file vsync_waiter_ios.h.

Referenced by flutter::VsyncWaiterIOS::AwaitVSync, VSyncClient::initWithTaskRunner:callback:, and flutter::VsyncWaiterIOS::VsyncWaiterIOS.

◆ maxRefreshRateEnabledOnIPhone

- (BOOL) maxRefreshRateEnabledOnIPhone
readnonatomicassign

Definition at line 17 of file FlutterMetalLayer.mm.

Referenced by VSyncClient::setMaxRefreshRate:.


The documentation for this class was generated from the following files: