Flutter Engine
FlutterCompositor Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 This size of this struct. Must be sizeof(FlutterCompositor). More...
 
void * user_data
 
FlutterBackingStoreCreateCallback create_backing_store_callback
 
FlutterBackingStoreCollectCallback collect_backing_store_callback
 
FlutterLayersPresentCallback present_layers_callback
 

Detailed Description

Definition at line 918 of file embedder.h.

Member Data Documentation

◆ collect_backing_store_callback

FlutterBackingStoreCollectCallback FlutterCompositor::collect_backing_store_callback

A callback invoked by the engine to release the backing store. The embedder may collect any resources associated with the backing store.

Definition at line 936 of file embedder.h.

Referenced by CreateEmbedderRenderTarget(), flutter::testing::EmbedderConfigBuilder::SetCompositor(), and flutter::testing::TEST_F().

◆ create_backing_store_callback

FlutterBackingStoreCreateCallback FlutterCompositor::create_backing_store_callback

A callback invoked by the engine to obtain a backing store for a specific FlutterLayer.

On ABI stability: Callers must take care to restrict access within FlutterBackingStore::struct_size when specifying a new backing store to the engine. This only matters if the embedder expects to be used with engines older than the version whose headers it used during compilation.

Definition at line 933 of file embedder.h.

Referenced by CreateEmbedderRenderTarget(), flutter::testing::EmbedderConfigBuilder::SetCompositor(), and flutter::testing::TEST_F().

◆ present_layers_callback

FlutterLayersPresentCallback FlutterCompositor::present_layers_callback

Callback invoked by the engine to composite the contents of each layer onto the screen.

Definition at line 939 of file embedder.h.

Referenced by flutter::testing::EmbedderConfigBuilder::SetCompositor(), and flutter::testing::TEST_F().

◆ struct_size

size_t FlutterCompositor::struct_size

This size of this struct. Must be sizeof(FlutterCompositor).

Definition at line 920 of file embedder.h.

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

◆ user_data

void* FlutterCompositor::user_data

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