#include <vsync_waiters_test.h>
Public Member Functions | |
| ConstantFiringVsyncWaiter (const TaskRunners &task_runners) | |
Public Member Functions inherited from flutter::VsyncWaiter | |
| virtual | ~VsyncWaiter () |
| void | AsyncWaitForVsync (const Callback &callback) |
| void | ScheduleSecondaryCallback (uintptr_t id, const fml::closure &callback) |
Static Public Attributes | |
| static constexpr fml::TimePoint | kFrameBeginTime |
| static constexpr fml::TimePoint | kFrameTargetTime |
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 46 of file vsync_waiters_test.h.
|
inlineexplicit |
Definition at line 54 of file vsync_waiters_test.h.
|
overrideprotectedvirtual |
Implements flutter::VsyncWaiter.
Definition at line 59 of file vsync_waiters_test.cc.
References flutter::VsyncWaiter::FireCallback(), FML_DCHECK, flutter::TaskRunners::GetPlatformTaskRunner(), flutter::TaskRunners::GetUITaskRunner(), kFrameBeginTime, kFrameTargetTime, fml::TaskRunner::RunsTasksOnCurrentThread(), and flutter::VsyncWaiter::task_runners_.
|
staticconstexpr |
Definition at line 49 of file vsync_waiters_test.h.
Referenced by AwaitVSync().
|
staticconstexpr |
Definition at line 51 of file vsync_waiters_test.h.
Referenced by AwaitVSync(), and flutter::testing::TEST_F().