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

Member Data Documentation

◆ @12

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

Referenced by 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 896 of file embedder.h.

Referenced by 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 892 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 882 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 885 of file embedder.h.

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


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