Flutter Engine
The Flutter Engine
|
#include <embedder.h>
Public Attributes | |
size_t | struct_size |
The size of this struct. Must be sizeof(FlutterCustomTaskRunners). More... | |
const FlutterTaskRunnerDescription * | platform_task_runner |
const FlutterTaskRunnerDescription * | render_task_runner |
void(* | thread_priority_setter )(FlutterThreadPriority) |
Definition at line 1589 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 1596 of file embedder.h.
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 1601 of file embedder.h.
size_t FlutterCustomTaskRunners::struct_size |
The size of this struct. Must be sizeof(FlutterCustomTaskRunners).
Definition at line 1591 of file embedder.h.
void(* FlutterCustomTaskRunners::thread_priority_setter) (FlutterThreadPriority) |
Specify a callback that is used to set the thread priority for embedder task runners.
Definition at line 1604 of file embedder.h.