Home
last modified time | relevance | path

Searched refs:TaskRunner (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/flutter/engine/flutter/common/
Dtask_runners.h18 fml::RefPtr<fml::TaskRunner> platform,
19 fml::RefPtr<fml::TaskRunner> gpu,
20 fml::RefPtr<fml::TaskRunner> ui,
21 fml::RefPtr<fml::TaskRunner> io);
29 fml::RefPtr<fml::TaskRunner> GetPlatformTaskRunner() const;
31 fml::RefPtr<fml::TaskRunner> GetUITaskRunner() const;
33 fml::RefPtr<fml::TaskRunner> GetIOTaskRunner() const;
35 fml::RefPtr<fml::TaskRunner> GetGPUTaskRunner() const;
41 fml::RefPtr<fml::TaskRunner> platform_;
42 fml::RefPtr<fml::TaskRunner> gpu_;
[all …]
Dtask_runners.cc12 fml::RefPtr<fml::TaskRunner> platform, in TaskRunners()
13 fml::RefPtr<fml::TaskRunner> gpu, in TaskRunners()
14 fml::RefPtr<fml::TaskRunner> ui, in TaskRunners()
15 fml::RefPtr<fml::TaskRunner> io) in TaskRunners()
30 fml::RefPtr<fml::TaskRunner> TaskRunners::GetPlatformTaskRunner() const { in GetPlatformTaskRunner()
34 fml::RefPtr<fml::TaskRunner> TaskRunners::GetUITaskRunner() const { in GetUITaskRunner()
38 fml::RefPtr<fml::TaskRunner> TaskRunners::GetIOTaskRunner() const { in GetIOTaskRunner()
42 fml::RefPtr<fml::TaskRunner> TaskRunners::GetGPUTaskRunner() const { in GetGPUTaskRunner()
/third_party/flutter/engine/flutter/fml/
Dtask_runner.cc18 TaskRunner::TaskRunner(fml::RefPtr<MessageLoopImpl> loop) in TaskRunner() function in fml::TaskRunner
21 TaskRunner::~TaskRunner() = default;
23 void TaskRunner::PostTask(fml::closure task) { in PostTask()
27 void TaskRunner::PostTaskForTime(fml::closure task, in PostTaskForTime()
32 void TaskRunner::PostDelayedTask(fml::closure task, fml::TimeDelta delay) { in PostDelayedTask()
36 TaskQueueId TaskRunner::GetTaskQueueId() { in GetTaskQueueId()
41 bool TaskRunner::RunsTasksOnCurrentThread() { in RunsTasksOnCurrentThread()
64 void TaskRunner::RunNowOrPostTask(fml::RefPtr<fml::TaskRunner> runner, in RunNowOrPostTask()
Dtask_runner.h19 class TaskRunner : public fml::RefCountedThreadSafe<TaskRunner> {
21 virtual ~TaskRunner();
33 static void RunNowOrPostTask(fml::RefPtr<fml::TaskRunner> runner,
37 TaskRunner(fml::RefPtr<MessageLoopImpl> loop);
42 FML_FRIEND_MAKE_REF_COUNTED(TaskRunner);
43 FML_FRIEND_REF_COUNTED_THREAD_SAFE(TaskRunner);
44 FML_DISALLOW_COPY_AND_ASSIGN(TaskRunner);
Dmessage_loop.h13 class TaskRunner; variable
31 fml::RefPtr<fml::TaskRunner> GetTaskRunner() const;
46 friend class TaskRunner;
50 fml::RefPtr<fml::TaskRunner> task_runner_;
Dthread.h23 fml::RefPtr<fml::TaskRunner> GetTaskRunner() const;
31 fml::RefPtr<fml::TaskRunner> task_runner_;
/third_party/flutter/engine/flutter/testing/
Dthread_test.h45 fml::RefPtr<fml::TaskRunner> GetCurrentTaskRunner();
61 fml::RefPtr<fml::TaskRunner> GetThreadTaskRunner();
73 fml::RefPtr<fml::TaskRunner> CreateNewThread(std::string name = "");
84 fml::RefPtr<fml::TaskRunner> thread_task_runner_;
85 fml::RefPtr<fml::TaskRunner> current_task_runner_;
Dthread_test.cc29 fml::RefPtr<fml::TaskRunner> ThreadTest::GetCurrentTaskRunner() { in GetCurrentTaskRunner()
33 fml::RefPtr<fml::TaskRunner> ThreadTest::GetThreadTaskRunner() { in GetThreadTaskRunner()
37 fml::RefPtr<fml::TaskRunner> ThreadTest::CreateNewThread(std::string name) { in CreateNewThread()
/third_party/flutter/engine/flutter/shell/common/
Dace_shell.cc89 fml::TaskRunner::RunNowOrPostTask( in CreateShellOnPlatformThread()
106 fml::TaskRunner::RunNowOrPostTask( in CreateShellOnPlatformThread()
126 fml::TaskRunner::RunNowOrPostTask( in CreateShellOnPlatformThread()
156 fml::TaskRunner::RunNowOrPostTask( in CreateShellOnPlatformThread()
234 fml::TaskRunner::RunNowOrPostTask( in Create()
268 fml::TaskRunner::RunNowOrPostTask( in ~Shell()
274 fml::TaskRunner::RunNowOrPostTask( in ~Shell()
282 fml::TaskRunner::RunNowOrPostTask( in ~Shell()
291 fml::TaskRunner::RunNowOrPostTask( in ~Shell()
308 fml::TaskRunner::RunNowOrPostTask( in ~Shell()
[all …]
Dpersistent_cache.h39 void AddWorkerTaskRunner(fml::RefPtr<fml::TaskRunner> task_runner);
41 void RemoveWorkerTaskRunner(fml::RefPtr<fml::TaskRunner> task_runner);
58 std::multiset<fml::RefPtr<fml::TaskRunner>> worker_task_runners_
74 fml::RefPtr<fml::TaskRunner> GetWorkerTaskRunner() const;
Dpersistent_cache.cc117 static void PersistentCacheStore(fml::RefPtr<fml::TaskRunner> worker, in PersistentCacheStore()
195 fml::RefPtr<fml::TaskRunner> task_runner) { in AddWorkerTaskRunner()
201 fml::RefPtr<fml::TaskRunner> task_runner) { in RemoveWorkerTaskRunner()
209 fml::RefPtr<fml::TaskRunner> PersistentCache::GetWorkerTaskRunner() const { in GetWorkerTaskRunner()
210 fml::RefPtr<fml::TaskRunner> worker; in GetWorkerTaskRunner()
Dshell.cc71 fml::TaskRunner::RunNowOrPostTask( in CreateShellOnPlatformThread()
88 fml::TaskRunner::RunNowOrPostTask( in CreateShellOnPlatformThread()
106 fml::TaskRunner::RunNowOrPostTask( in CreateShellOnPlatformThread()
243 fml::TaskRunner::RunNowOrPostTask( in Create()
317 fml::TaskRunner::RunNowOrPostTask( in ~Shell()
325 fml::TaskRunner::RunNowOrPostTask( in ~Shell()
334 fml::TaskRunner::RunNowOrPostTask( in ~Shell()
351 fml::TaskRunner::RunNowOrPostTask( in ~Shell()
392 fml::TaskRunner::RunNowOrPostTask( in RunEngine()
566 fml::TaskRunner::RunNowOrPostTask(gpu_task_runner, gpu_task); in OnPlatformViewCreated()
[all …]
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dplatform_task_runner_adapter.h18 class PlatformTaskRunnerAdapter : public fml::TaskRunner {
32 static fml::RefPtr<fml::TaskRunner> CurrentTaskRunner(bool useCurrentEventRunner = false);
35 static fml::RefPtr<fml::TaskRunner> taskRunner_;
Dplatform_task_runner_adapter.cc11 fml::RefPtr<fml::TaskRunner> PlatformTaskRunnerAdapter::taskRunner_;
14 : fml::TaskRunner(nullptr) in PlatformTaskRunnerAdapter()
49 fml::RefPtr<fml::TaskRunner> PlatformTaskRunnerAdapter::CurrentTaskRunner(bool useCurrentEventRunne… in CurrentTaskRunner()
Dohos_shell_holder.cc70 fml::RefPtr<fml::TaskRunner> gpu_runner; in OhosShellHolder()
71 fml::RefPtr<fml::TaskRunner> ui_runner; in OhosShellHolder()
72 fml::RefPtr<fml::TaskRunner> io_runner; in OhosShellHolder()
73 fml::RefPtr<fml::TaskRunner> platform_runner = in OhosShellHolder()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dtask_runner_adapter.cc15 class CompatTaskRunner : public fml::TaskRunner {
18 : fml::TaskRunner(nullptr), forwarding_target_(dispatcher) { in CompatTaskRunner()
49 fml::RefPtr<fml::TaskRunner> CreateFMLTaskRunner( in CreateFMLTaskRunner()
/third_party/flutter/engine/flutter/flow/
Dview_holder.h35 fml::RefPtr<fml::TaskRunner> ui_task_runner,
41 ViewHolder(fml::RefPtr<fml::TaskRunner> ui_task_runner,
64 fml::RefPtr<fml::TaskRunner> ui_task_runner_;
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_shell_holder.cc82 fml::RefPtr<fml::TaskRunner> gpu_runner; in AndroidShellHolder()
83 fml::RefPtr<fml::TaskRunner> ui_runner; in AndroidShellHolder()
84 fml::RefPtr<fml::TaskRunner> io_runner; in AndroidShellHolder()
85 fml::RefPtr<fml::TaskRunner> platform_runner = in AndroidShellHolder()
Dplatform_message_response_android.h27 fml::RefPtr<fml::TaskRunner> platform_task_runner);
33 fml::RefPtr<fml::TaskRunner> platform_task_runner_;
/third_party/flutter/engine/flutter/runtime/
Ddart_isolate_unittests.cc98 fml::RefPtr<fml::TaskRunner> runner) in AutoIsolateShutdown()
106 fml::TaskRunner::RunNowOrPostTask(runner_, [isolate = isolate_, &latch]() { in ~AutoIsolateShutdown()
127 fml::TaskRunner::RunNowOrPostTask( in RunInIsolateScope()
147 fml::RefPtr<fml::TaskRunner> runner_;
155 fml::RefPtr<fml::TaskRunner> task_runner, in RunDartCodeInIsolate()
264 fml::RefPtr<fml::TaskRunner> task_runner, in RunDartCodeInIsolate()
269 fml::TaskRunner::RunNowOrPostTask( in RunDartCodeInIsolate()
/third_party/flutter/engine/flutter/lib/ui/window/
Dplatform_message_response_dart.h24 fml::RefPtr<fml::TaskRunner> ui_task_runner);
28 fml::RefPtr<fml::TaskRunner> ui_task_runner_;
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
Dplatform_message_response_darwin.h29 fml::RefPtr<fml::TaskRunner> platform_task_runner);
34 fml::RefPtr<fml::TaskRunner> platform_task_runner_;
/third_party/flutter/engine/flutter/shell/platform/embedder/
Dembedder_platform_message_response.h29 EmbedderPlatformMessageResponse(fml::RefPtr<fml::TaskRunner> runner,
39 fml::RefPtr<fml::TaskRunner> runner_;
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DParallelShaderCompileTest.cpp126 class TaskRunner class in __anon28be0eaa0111::ParallelShaderCompileTest
129 TaskRunner() {} in TaskRunner() function in __anon28be0eaa0111::ParallelShaderCompileTest::TaskRunner
130 ~TaskRunner() {} in ~TaskRunner()
372 TaskRunner<ClearColorWithDraw> runner; in TEST_P()
391 TaskRunner<ImageLoadStore> runner; in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DParallelShaderCompileTest.cpp125 class TaskRunner class in __anon4261137f0111::ParallelShaderCompileTest
128 TaskRunner() {} in TaskRunner() function in __anon4261137f0111::ParallelShaderCompileTest::TaskRunner
129 ~TaskRunner() {} in ~TaskRunner()
371 TaskRunner<ClearColorWithDraw> runner; in TEST_P()
387 TaskRunner<ImageLoadStore> runner; in TEST_P()

1234