Flutter Engine
FlutterSoftwareRendererConfig Struct Reference

#include <embedder.h>

Public Attributes

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

Detailed Description

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

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

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

Referenced by flutter::testing::EmbedderConfigBuilder::EmbedderConfigBuilder(), and InferSoftwarePlatformViewCreationCallback().


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