#include <vsync_waiters_test.h>
Definition at line 46 of file vsync_waiters_test.h.
◆ ConstantFiringVsyncWaiter()
flutter::testing::ConstantFiringVsyncWaiter::ConstantFiringVsyncWaiter |
( |
const TaskRunners & |
task_runners | ) |
|
|
inlineexplicit |
◆ AwaitVSync()
void flutter::testing::ConstantFiringVsyncWaiter::AwaitVSync |
( |
| ) |
|
|
overrideprotectedvirtual |
Implements flutter::VsyncWaiter.
Definition at line 59 of file vsync_waiters_test.cc.
59 {
61 auto async_wait = std::async([this]() {
64 });
65}
fml::RefPtr< fml::TaskRunner > GetUITaskRunner() const
fml::RefPtr< fml::TaskRunner > GetPlatformTaskRunner() const
void FireCallback(fml::TimePoint frame_start_time, fml::TimePoint frame_target_time, bool pause_secondary_tasks=true)
const TaskRunners task_runners_
static constexpr fml::TimePoint kFrameTargetTime
static constexpr fml::TimePoint kFrameBeginTime
virtual bool RunsTasksOnCurrentThread()
#define FML_DCHECK(condition)
◆ kFrameBeginTime
constexpr fml::TimePoint flutter::testing::ConstantFiringVsyncWaiter::kFrameBeginTime |
|
staticconstexpr |
Initial value:=
static constexpr TimeDelta FromSeconds(int64_t seconds)
static constexpr TimePoint FromEpochDelta(TimeDelta ticks)
Definition at line 49 of file vsync_waiters_test.h.
◆ kFrameTargetTime
constexpr fml::TimePoint flutter::testing::ConstantFiringVsyncWaiter::kFrameTargetTime |
|
staticconstexpr |
The documentation for this class was generated from the following files: