Flutter Engine
The Flutter Engine
Instance Methods | Properties | List of all members
TestDisplayLink Class Reference
Inheritance diagram for TestDisplayLink:
FlutterDisplayLink

Instance Methods

(instancetype) - init [implementation]
 
(void) - tickWithTimestamp:targetTimestamp: [implementation]
 
(void) - invalidate [implementation]
 Invalidates the display link. Must be called on the main thread. More...
 
(void) - invalidate
 Invalidates the display link. Must be called on the main thread. More...
 

Properties

CFTimeInterval nominalOutputRefreshPeriod
 

Additional Inherited Members

Detailed Description

Definition at line 10 of file FlutterVSyncWaiterTest.mm.

Method Documentation

◆ init

- (instancetype) init
implementation

Definition at line 13 of file FlutterVSyncWaiterTest.mm.

23 {
24 if (self = [super init]) {
25 _paused = YES;
26 }
27 return self;
28}

◆ invalidate

- (void) invalidate
implementation

Invalidates the display link. Must be called on the main thread.

Reimplemented from FlutterDisplayLink.

Definition at line 13 of file FlutterVSyncWaiterTest.mm.

35 {
36}

◆ tickWithTimestamp:targetTimestamp:

- (void) tickWithTimestamp: (CFTimeInterval)  timestamp
targetTimestamp: (CFTimeInterval)  targetTimestamp 
implementation

Definition at line 13 of file FlutterVSyncWaiterTest.mm.

30 :(CFTimeInterval)timestamp
31 targetTimestamp:(CFTimeInterval)targetTimestamp {
32 [_delegate onDisplayLink:timestamp targetTimestamp:targetTimestamp];
33}

Property Documentation

◆ nominalOutputRefreshPeriod

- (CFTimeInterval) nominalOutputRefreshPeriod
readwritenonatomicassign

Definition at line 13 of file FlutterVSyncWaiterTest.mm.


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