Flutter Engine
The Flutter Engine
|
#import <vsync_waiter_ios.h>
Instance Methods | |
(instancetype) | - initWithTaskRunner:callback: |
(void) | - await |
(void) | - pause |
(void) | - invalidate |
Call invalidate before releasing this object to remove from runloops. More... | |
(void) | - setMaxRefreshRate: |
(void) | - onDisplayLink: [implementation] |
(CADisplayLink *) | - getDisplayLink [implementation] |
Properties | |
BOOL | allowPauseAfterVsync |
Default value is YES. Vsync client will pause vsync callback after receiving a vsync signal. Setting this property to NO can avoid this and vsync client will trigger vsync callback continuously. More... | |
double | refreshRate [implementation] |
Definition at line 36 of file vsync_waiter_ios.h.
- (void) await |
Definition at line 66 of file vsync_waiter_ios.mm.
|
implementation |
Provided by category VSyncClient(Testing).
Definition at line 66 of file vsync_waiter_ios.mm.
- (instancetype) initWithTaskRunner: | (fml::RefPtr<fml::TaskRunner>) | task_runner | |
callback: | (flutter::VsyncWaiter::Callback) | callback | |
Definition at line 66 of file vsync_waiter_ios.mm.
- (void) invalidate |
Call invalidate before releasing this object to remove from runloops.
Definition at line 66 of file vsync_waiter_ios.mm.
|
implementation |
Provided by category VSyncClient(Testing).
Definition at line 66 of file vsync_waiter_ios.mm.
- (void) pause |
Definition at line 66 of file vsync_waiter_ios.mm.
- (void) setMaxRefreshRate: | (double) | refreshRate |
Definition at line 66 of file vsync_waiter_ios.mm.
|
readwritenonatomicassign |
Default value is YES. Vsync client will pause vsync callback after receiving a vsync signal. Setting this property to NO can avoid this and vsync client will trigger vsync callback continuously.
allowPauseAfterVsync | Allow vsync client to pause after receiving a vsync signal. |
Definition at line 46 of file vsync_waiter_ios.h.
|
readnonatomicassignimplementation |
Definition at line 22 of file vsync_waiter_ios.mm.