Flutter Engine
The Flutter Engine
Public Attributes | List of all members
FlutterCustomTaskRunners Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterCustomTaskRunners). More...
 
const FlutterTaskRunnerDescriptionplatform_task_runner
 
const FlutterTaskRunnerDescriptionrender_task_runner
 
void(* thread_priority_setter )(FlutterThreadPriority)
 

Detailed Description

Definition at line 1589 of file embedder.h.

Member Data Documentation

◆ platform_task_runner

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.

◆ render_task_runner

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.

◆ struct_size

size_t FlutterCustomTaskRunners::struct_size

The size of this struct. Must be sizeof(FlutterCustomTaskRunners).

Definition at line 1591 of file embedder.h.

◆ thread_priority_setter

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.


The documentation for this struct was generated from the following file: