Home
last modified time | relevance | path

Searched refs:task_runners (Results 1 – 25 of 68) sorted by relevance

123

/third_party/flutter/engine/flutter/shell/common/
Dshell_unittests.cc57 TaskRunners task_runners("test", nullptr, nullptr, nullptr, nullptr); in TEST_F() local
58 auto shell = CreateShell(std::move(settings), std::move(task_runners)); in TEST_F()
69 TaskRunners task_runners("test", thread_host.platform_thread->GetTaskRunner(), in TEST_F() local
73 auto shell = CreateShell(std::move(settings), std::move(task_runners)); in TEST_F()
86 TaskRunners task_runners("test", task_runner, task_runner, task_runner, in TEST_F() local
88 auto shell = CreateShell(std::move(settings), std::move(task_runners)); in TEST_F()
100 TaskRunners task_runners("test", task_runner, task_runner, task_runner, in TEST_F() local
102 auto shell = CreateShell(std::move(settings), std::move(task_runners)); in TEST_F()
117 TaskRunners task_runners("test", in TEST_F() local
123 std::move(task_runners), settings, in TEST_F()
[all …]
Dace_shell.cc57 TaskRunners task_runners, in CreateShellOnPlatformThread() argument
61 if (!task_runners.IsValid()) { in CreateShellOnPlatformThread()
67 std::unique_ptr<Shell>(new Shell(task_runners, settings)); in CreateShellOnPlatformThread()
107 task_runners.GetGPUTaskRunner(), [&gpu_latch, // in CreateShellOnPlatformThread()
136 const auto& task_runners = shell->GetTaskRunners(); in CreateShellOnPlatformThread() local
140 auto animator = std::make_unique<Animator>(*shell, task_runners, in CreateShellOnPlatformThread()
144 task_runners, // in CreateShellOnPlatformThread()
219 TaskRunners task_runners, in Create() argument
227 if (!task_runners.IsValid() || !on_create_platform_view || in Create()
235 task_runners.GetPlatformTaskRunner(), in Create()
[all …]
Danimator.cc22 TaskRunners task_runners, in Animator() argument
25 task_runners_(std::move(task_runners)), in Animator()
33 task_runners.GetPlatformTaskRunner() == in Animator()
34 task_runners.GetGPUTaskRunner() in Animator()
Dshell.cc37 TaskRunners task_runners, in CreateShellOnPlatformThread() argument
43 if (!task_runners.IsValid()) { in CreateShellOnPlatformThread()
49 std::unique_ptr<Shell>(new Shell(std::move(vm), task_runners, settings)); in CreateShellOnPlatformThread()
89 task_runners.GetGPUTaskRunner(), [&gpu_latch, // in CreateShellOnPlatformThread()
117 const auto& task_runners = shell->GetTaskRunners(); in CreateShellOnPlatformThread() local
121 auto animator = std::make_unique<Animator>(*shell, task_runners, in CreateShellOnPlatformThread()
128 task_runners, // in CreateShellOnPlatformThread()
201 TaskRunners task_runners, in Create() argument
214 return Shell::Create(std::move(task_runners), // in Create()
225 TaskRunners task_runners, in Create() argument
[all …]
Drasterizer.h87 Rasterizer(TaskRunners task_runners,
102 Rasterizer(Delegate& delegate, TaskRunners task_runners);
119 TaskRunners task_runners,
Dvsync_waiter_fallback.cc25 VsyncWaiterFallback::VsyncWaiterFallback(TaskRunners task_runners) in VsyncWaiterFallback() argument
26 : VsyncWaiter(std::move(task_runners)), phase_(fml::TimePoint::Now()) {} in VsyncWaiterFallback()
Drasterizer.cc30 TaskRunners task_runners, in Rasterizer() argument
33 std::move(task_runners), in Rasterizer()
36 Rasterizer::Rasterizer(Delegate& delegate, TaskRunners task_runners) in Rasterizer() argument
38 std::move(task_runners), in Rasterizer()
43 TaskRunners task_runners, in Rasterizer() argument
46 task_runners_(std::move(task_runners)), in Rasterizer()
Dvsync_waiter.cc26 VsyncWaiter::VsyncWaiter(TaskRunners task_runners) in VsyncWaiter() argument
27 : task_runners_(std::move(task_runners)) {} in VsyncWaiter()
Dshell_test.cc178 TaskRunners task_runners) { in CreateShell() argument
180 task_runners, settings, in CreateShell()
214 TaskRunners task_runners) in ShellTestPlatformView() argument
215 : PlatformView(delegate, std::move(task_runners)) {} in ShellTestPlatformView()
Dshell.h44 TaskRunners task_runners,
201 Shell(TaskRunners task_runners, Settings settings);
204 TaskRunners task_runners,
/third_party/flutter/engine/flutter/shell/platform/embedder/
Dace_platform_view_embedder.cc13 flutter::TaskRunners task_runners, in PlatformViewEmbedder() argument
18 : PlatformView(delegate, std::move(task_runners)), in PlatformViewEmbedder()
27 flutter::TaskRunners task_runners, in PlatformViewEmbedder() argument
31 : PlatformView(delegate, std::move(task_runners)), in PlatformViewEmbedder()
Dembedder_thread_host.cc172 flutter::TaskRunners task_runners( in CreateEmbedderManagedThreadHost() local
180 if (!task_runners.IsValid()) { in CreateEmbedderManagedThreadHost()
195 std::move(thread_host), std::move(task_runners), in CreateEmbedderManagedThreadHost()
219 flutter::TaskRunners task_runners( in CreateEngineManagedThreadHost() local
227 if (!task_runners.IsValid()) { in CreateEngineManagedThreadHost()
234 std::move(thread_host), std::move(task_runners), in CreateEngineManagedThreadHost()
Dplatform_view_embedder.cc11 flutter::TaskRunners task_runners, in PlatformViewEmbedder() argument
16 : PlatformView(delegate, std::move(task_runners)), in PlatformViewEmbedder()
25 flutter::TaskRunners task_runners, in PlatformViewEmbedder() argument
29 : PlatformView(delegate, std::move(task_runners)), in PlatformViewEmbedder()
Dvsync_waiter_embedder.cc10 flutter::TaskRunners task_runners) in VsyncWaiterEmbedder() argument
11 : VsyncWaiter(std::move(task_runners)), vsync_callback_(vsync_callback) { in VsyncWaiterEmbedder()
Dplatform_view_embedder.h29 flutter::TaskRunners task_runners,
38 flutter::TaskRunners task_runners,
/third_party/flutter/engine/flutter/runtime/
Ddart_isolate.cc25 TaskRunners task_runners, in CreateRootIsolate() argument
51 task_runners, // task runners in CreateRootIsolate()
95 TaskRunners task_runners, in DartIsolate() argument
103 : UIDartState(std::move(task_runners), in DartIsolate()
210 const auto& task_runners = GetTaskRunners(); in UpdateThreadPoolNames() local
212 if (auto task_runner = task_runners.GetGPUTaskRunner()) { in UpdateThreadPoolNames()
214 [label = task_runners.GetLabel() + std::string{".gpu"}]() { in UpdateThreadPoolNames()
219 if (auto task_runner = task_runners.GetUITaskRunner()) { in UpdateThreadPoolNames()
221 [label = task_runners.GetLabel() + std::string{".ui"}]() { in UpdateThreadPoolNames()
226 if (auto task_runner = task_runners.GetIOTaskRunner()) { in UpdateThreadPoolNames()
[all …]
Ddart_isolate_unittests.cc28 TaskRunners task_runners(GetCurrentTestName(), // in TEST_F() local
38 std::move(task_runners), // task runners in TEST_F()
61 TaskRunners task_runners(GetCurrentTestName(), // in TEST_F() local
71 std::move(task_runners), // task runners in TEST_F()
164 TaskRunners task_runners(GetCurrentTestName(), // in RunDartCodeInIsolate() local
181 std::move(task_runners), // task runners in RunDartCodeInIsolate()
/third_party/flutter/engine/flutter/shell/platform/android/
Dace_vsync_waiter_android.cc24 std::unique_ptr<VsyncWaiter> VsyncWaiterAndroid::Create(flutter::TaskRunners task_runners) in Create() argument
26 return std::make_unique<VsyncWaiterAndroid>(task_runners); in Create()
29 VsyncWaiterAndroid::VsyncWaiterAndroid(flutter::TaskRunners task_runners) in VsyncWaiterAndroid() argument
30 : VsyncWaiter(std::move(task_runners)) {} in VsyncWaiterAndroid()
Dandroid_shell_holder.cc97 flutter::TaskRunners task_runners(thread_label, // label in AndroidShellHolder() local
105 Shell::Create(task_runners, // task runners in AndroidShellHolder()
117 task_runners.GetGPUTaskRunner()->PostTask([]() { in AndroidShellHolder()
129 task_runners.GetUITaskRunner()->PostTask([]() { in AndroidShellHolder()
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dace_vsync_waiter_embedder.cc26 std::unique_ptr<VsyncWaiter> VsyncWaiterEmbedder::Create(flutter::TaskRunners task_runners) in Create() argument
28 return std::make_unique<VsyncWaiterEmbedder>(task_runners); in Create()
31 …Embedder::VsyncWaiterEmbedder(flutter::TaskRunners task_runners) : VsyncWaiter(std::move(task_runn… in VsyncWaiterEmbedder() argument
Dohos_shell_holder.cc97 flutter::TaskRunners task_runners(thread_label, // label in OhosShellHolder() local
105 Shell::Create(task_runners, // task runners in OhosShellHolder()
117 task_runners.GetGPUTaskRunner()->PostTask([]() { in OhosShellHolder()
124 task_runners.GetUITaskRunner()->PostTask([]() { in OhosShellHolder()
Dplatform_view_ohos.cc20 flutter::TaskRunners task_runners, in PlatformViewOhos() argument
22 : PlatformView(delegate, std::move(task_runners)) in PlatformViewOhos()
/third_party/flutter/engine/flutter/lib/ui/
Dui_dart_state.h31 …UIStateItem(fml::WeakPtr<IOManager> io_manager, TaskRunners task_runners) : io_manager_(std::move(… in UIStateItem() argument
32 task_runners_(std::move(task_runners)) {} in UIStateItem()
47 TaskRunners task_runners);
/third_party/flutter/engine/flutter/common/
DBUILD.gn15 "task_runners.cc",
16 "task_runners.h",
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/
Dplatform_view_ios.mm11 #include "flutter/common/task_runners.h"
23 flutter::TaskRunners task_runners)
24 : PlatformView(delegate, std::move(task_runners)) {

123