1#define FML_USED_ON_EMBEDDER
3#include <initializer_list>
5#include "flutter/common/settings.h"
6#include "flutter/common/task_runners.h"
7#include "flutter/shell/common/switches.h"
9#include "gtest/gtest.h"
27TEST(VsyncWaiterTest, NoUnneededAwaitVsync) {
29 std::string
prefix =
"vsync_waiter_test";
35 task_runner, task_runner);
void ScheduleSecondaryCallback(uintptr_t id, const fml::closure &callback)
int await_vsync_call_count_
void AwaitVSync() override
TestVsyncWaiter(const TaskRunners &task_runners)
static void EnsureInitializedForCurrentThread()
fml::RefPtr< fml::TaskRunner > GetTaskRunner() const
static FML_EMBEDDER_ONLY MessageLoop & GetCurrent()
TEST(DisplayListComplexity, EmptyDisplayList)
The collection of all the threads used by the engine.