Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | Class Methods | Properties | List of all members
DisplayLinkManager Class Reference

#include <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.
 

Detailed Description

Definition at line 12 of file FlutterMetalLayer.mm.

Method Documentation

◆ displayRefreshRate

+ (double) displayRefreshRate

◆ onDisplayLink:

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

Definition at line 63 of file vsync_waiter_ios.mm.

165 :(CADisplayLink*)link {
166 // no-op.
167}

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 13 of file FlutterMetalLayer.mm.


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