#include <vsync_waiters_test.h>
Definition at line 33 of file vsync_waiters_test.h.
◆ ShellTestVsyncWaiter()
◆ AwaitVSync()
void flutter::testing::ShellTestVsyncWaiter::AwaitVSync |
( |
| ) |
|
|
overrideprotectedvirtual |
Implements flutter::VsyncWaiter.
Definition at line 35 of file vsync_waiters_test.cc.
35 {
37 auto vsync_future = clock_->NextVSync();
38
39 auto async_wait = std::async([&vsync_future, this]() {
40 vsync_future.wait();
41
42
43
44
45
46
47
48
49
50
51
52
55 });
56 });
57}
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_
virtual bool RunsTasksOnCurrentThread()
#define FML_DCHECK(condition)
The documentation for this class was generated from the following files: