Flutter Engine
The Flutter Engine
|
#include <vsync_waiter.h>
Public Member Functions | |
VsyncWaiter (AwaitVsyncCallback await_vsync_callback, AwaitVsyncForSecondaryCallbackCallback await_vsync_for_secondary_callback_callback, flutter::TaskRunners task_runners) | |
~VsyncWaiter () override | |
Public Member Functions inherited from flutter::VsyncWaiter | |
virtual | ~VsyncWaiter () |
void | AsyncWaitForVsync (const Callback &callback) |
void | ScheduleSecondaryCallback (uintptr_t id, const fml::closure &callback) |
Additional Inherited Members | |
Public Types inherited from flutter::VsyncWaiter | |
using | Callback = std::function< void(std::unique_ptr< FrameTimingsRecorder >)> |
Protected Member Functions inherited from flutter::VsyncWaiter | |
VsyncWaiter (const TaskRunners &task_runners) | |
virtual void | AwaitVSync ()=0 |
virtual void | AwaitVSyncForSecondaryCallback () |
void | FireCallback (fml::TimePoint frame_start_time, fml::TimePoint frame_target_time, bool pause_secondary_tasks=true) |
Protected Attributes inherited from flutter::VsyncWaiter | |
const TaskRunners | task_runners_ |
Definition at line 27 of file vsync_waiter.h.
flutter_runner::VsyncWaiter::VsyncWaiter | ( | AwaitVsyncCallback | await_vsync_callback, |
AwaitVsyncForSecondaryCallbackCallback | await_vsync_for_secondary_callback_callback, | ||
flutter::TaskRunners | task_runners | ||
) |
Definition at line 21 of file vsync_waiter.cc.
|
overridevirtual |
Reimplemented from flutter::VsyncWaiter.
Definition at line 57 of file vsync_waiter.cc.