Flutter Engine
The Flutter Engine
Instance Methods | Class Methods | Properties | List of all members
DisplayLinkManager Class Reference

#import <vsync_waiter_ios.h>

Inheritance diagram for DisplayLinkManager:

Instance Methods

(void) - onDisplayLink: [implementation]
 

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

◆ onDisplayLink:

- (void) onDisplayLink: (CADisplayLink*)  link
implementation

Definition at line 66 of file vsync_waiter_ios.mm.

168 :(CADisplayLink*)link {
169 // no-op.
170}
def link(from_root, to_root)
Definition: dart_pkg.py:44

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.

◆ maxRefreshRateEnabledOnIPhone

- (BOOL) maxRefreshRateEnabledOnIPhone
readnonatomicassign

Definition at line 17 of file FlutterMetalLayer.mm.


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