#include <embedder.h>
Public Attributes | |
| size_t | struct_size |
| The size of this struct. Must be sizeof(FlutterCustomTaskRunners). | |
| const FlutterTaskRunnerDescription * | platform_task_runner |
| const FlutterTaskRunnerDescription * | render_task_runner |
| void(* | thread_priority_setter )(FlutterThreadPriority) |
| const FlutterTaskRunnerDescription * | ui_task_runner |
Definition at line 1889 of file embedder.h.
| const FlutterTaskRunnerDescription* FlutterCustomTaskRunners::platform_task_runner |
Specify the task runner for the thread on which the FlutterEngineRun call is made. The same task runner description can be specified for both the render and platform task runners. This makes the Flutter engine use the same thread for both task runners.
Definition at line 1896 of file embedder.h.
Referenced by fl_engine_start(), flutter::FlutterWindowsEngine::Run(), RunFlutterEngine(), and flutter::testing::EmbedderConfigBuilder::SetPlatformTaskRunner().
| const FlutterTaskRunnerDescription* FlutterCustomTaskRunners::render_task_runner |
Specify the task runner for the thread on which the render tasks will be run. The same task runner description can be specified for both the render and platform task runners. This makes the Flutter engine use the same thread for both task runners.
Definition at line 1901 of file embedder.h.
Referenced by flutter::testing::EmbedderConfigBuilder::SetRenderTaskRunner().
| size_t FlutterCustomTaskRunners::struct_size |
The size of this struct. Must be sizeof(FlutterCustomTaskRunners).
Definition at line 1891 of file embedder.h.
Referenced by flutter::testing::EmbedderConfigBuilder::EmbedderConfigBuilder(), fl_engine_start(), flutter::FlutterWindowsEngine::Run(), and RunFlutterEngine().
| void(* FlutterCustomTaskRunners::thread_priority_setter) (FlutterThreadPriority) |
Specify a callback that is used to set the thread priority for embedder task runners.
Definition at line 1904 of file embedder.h.
Referenced by flutter::FlutterWindowsEngine::Run().
| const FlutterTaskRunnerDescription* FlutterCustomTaskRunners::ui_task_runner |
Specify the task runner for the thread on which the UI tasks will be run. This may be same as platform_task_runner, in which case the Flutter engine will run the UI isolate on platform thread.
Definition at line 1908 of file embedder.h.
Referenced by fl_engine_start(), flutter::FlutterWindowsEngine::Run(), and flutter::testing::EmbedderConfigBuilder::SetUITaskRunner().