Flutter Engine
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
 

Detailed Description

Definition at line 745 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 752 of file embedder.h.

Referenced by fl_engine_start(), FlutterEngineInitialize(), RunFlutterEngine(), flutter::FlutterWindowsEngine::RunWithEntrypoint(), and flutter::testing::EmbedderConfigBuilder::SetPlatformTaskRunner().

◆ 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 757 of file embedder.h.

Referenced by flutter::testing::EmbedderConfigBuilder::SetRenderTaskRunner().

◆ struct_size

size_t FlutterCustomTaskRunners::struct_size

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

Definition at line 747 of file embedder.h.

Referenced by flutter::testing::EmbedderConfigBuilder::EmbedderConfigBuilder(), fl_engine_start(), RunFlutterEngine(), and flutter::FlutterWindowsEngine::RunWithEntrypoint().


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