Flutter Engine
 
Loading...
Searching...
No Matches
FlutterSoftwareRendererConfig Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterSoftwareRendererConfig).
 
SoftwareSurfacePresentCallback surface_present_callback
 

Detailed Description

Definition at line 1020 of file embedder.h.

Member Data Documentation

◆ struct_size

size_t FlutterSoftwareRendererConfig::struct_size

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

Definition at line 1022 of file embedder.h.

Referenced by flutter::testing::EmbedderTestContextSoftware::EmbedderTestContextSoftware(), and fl_engine_start().

◆ surface_present_callback

SoftwareSurfacePresentCallback FlutterSoftwareRendererConfig::surface_present_callback

The callback presented to the embedder to present a fully populated buffer to the user. The pixel format of the buffer is the native 32-bit RGBA format. The buffer is owned by the Flutter engine and must be copied in this callback if needed.

Definition at line 1027 of file embedder.h.

Referenced by fl_engine_start(), and InferSoftwarePlatformViewCreationCallback().


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