Flutter Engine
FlutterLayer Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 This size of this struct. Must be sizeof(FlutterLayer). More...
 
FlutterLayerContentType type
 
union {
   const FlutterBackingStore *   backing_store
 
   const FlutterPlatformView *   platform_view
 
}; 
 
FlutterPoint offset
 
FlutterSize size
 The size of the layer (in physical pixels). More...
 

Detailed Description

Definition at line 1090 of file embedder.h.

Member Data Documentation

◆ @17

union { ... }

◆ backing_store

const FlutterBackingStore* FlutterLayer::backing_store

Indicates that the contents of this layer are rendered by Flutter into a backing store.

Definition at line 1099 of file embedder.h.

Referenced by fl_renderer_gl_present_layers(), operator<<(), operator==(), flutter::EmbedderLayers::PushBackingStoreLayer(), and flutter::testing::TEST_F().

◆ offset

FlutterPoint FlutterLayer::offset

The offset of this layer (in physical pixels) relative to the top left of the root surface used by the engine.

Definition at line 1106 of file embedder.h.

Referenced by fl_renderer_present_layers(), operator<<(), operator==(), flutter::EmbedderLayers::PushBackingStoreLayer(), flutter::EmbedderLayers::PushPlatformViewLayer(), and flutter::testing::TEST_F().

◆ platform_view

const FlutterPlatformView* FlutterLayer::platform_view

Indicates that the contents of this layer are determined by the embedder.

Definition at line 1102 of file embedder.h.

Referenced by operator<<(), operator==(), flutter::EmbedderLayers::PushPlatformViewLayer(), and flutter::testing::TEST_F().

◆ size

◆ struct_size

size_t FlutterLayer::struct_size

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

Definition at line 1092 of file embedder.h.

Referenced by operator<<(), operator==(), flutter::EmbedderLayers::PushBackingStoreLayer(), flutter::EmbedderLayers::PushPlatformViewLayer(), and flutter::testing::TEST_F().

◆ type

FlutterLayerContentType FlutterLayer::type

Each layer displays contents in one way or another. The type indicates whether those contents are specified by Flutter or the embedder.

Definition at line 1095 of file embedder.h.

Referenced by fl_renderer_gl_present_layers(), operator<<(), operator==(), flutter::EmbedderLayers::PushBackingStoreLayer(), flutter::EmbedderLayers::PushPlatformViewLayer(), and flutter::testing::TEST_F().


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