#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: |
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... | |
Definition at line 47 of file vsync_waiter_ios.h.
| - (void) await |
Definition at line 68 of file vsync_waiter_ios.mm.
Referenced by flutter::VsyncWaiterIOS::AwaitVSync.
| - (instancetype) initWithTaskRunner: | (fml::RefPtr<fml::TaskRunner>) | task_runner | |
| callback: | (flutter::VsyncWaiter::Callback) | callback | |
Definition at line 68 of file vsync_waiter_ios.mm.
| - (void) invalidate |
Call invalidate before releasing this object to remove from runloops.
Definition at line 68 of file vsync_waiter_ios.mm.
Referenced by flutter::VsyncWaiterIOS::~VsyncWaiterIOS.
| - (void) pause |
Definition at line 68 of file vsync_waiter_ios.mm.
| - (void) setMaxRefreshRate: | (double) | refreshRate |
Definition at line 68 of file vsync_waiter_ios.mm.
Referenced by flutter::VsyncWaiterIOS::AwaitVSync.
|
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 57 of file vsync_waiter_ios.h.