#include <vsync_waiters_test.h>
Public Member Functions | |
| ShellTestVsyncWaiter (const TaskRunners &task_runners, std::shared_ptr< ShellTestVsyncClock > clock) | |
Public Member Functions inherited from flutter::VsyncWaiter | |
| virtual | ~VsyncWaiter () |
| void | AsyncWaitForVsync (const Callback &callback) |
| void | ScheduleSecondaryCallback (uintptr_t id, const fml::closure &callback) |
Protected Member Functions | |
| void | AwaitVSync () override |
Protected Member Functions inherited from flutter::VsyncWaiter | |
| VsyncWaiter (const TaskRunners &task_runners) | |
| virtual void | AwaitVSyncForSecondaryCallback () |
| void | FireCallback (fml::TimePoint frame_start_time, fml::TimePoint frame_target_time, bool pause_secondary_tasks=true) |
Additional Inherited Members | |
Public Types inherited from flutter::VsyncWaiter | |
| using | Callback = std::function< void(std::unique_ptr< FrameTimingsRecorder >)> |
Protected Attributes inherited from flutter::VsyncWaiter | |
| const TaskRunners | task_runners_ |
Definition at line 33 of file vsync_waiters_test.h.
|
inline |
Definition at line 35 of file vsync_waiters_test.h.
|
overrideprotectedvirtual |
Implements flutter::VsyncWaiter.
Definition at line 35 of file vsync_waiters_test.cc.
References flutter::VsyncWaiter::FireCallback(), FML_DCHECK, flutter::TaskRunners::GetPlatformTaskRunner(), flutter::TaskRunners::GetUITaskRunner(), fml::TimePoint::Now(), fml::TaskRunner::RunsTasksOnCurrentThread(), and flutter::VsyncWaiter::task_runners_.