Flutter Engine
FlutterPlatformView Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterPlatformView). More...
 
FlutterPlatformViewIdentifier identifier
 
size_t mutations_count
 
const FlutterPlatformViewMutation ** mutations
 

Detailed Description

Definition at line 816 of file embedder.h.

Member Data Documentation

◆ identifier

FlutterPlatformViewIdentifier FlutterPlatformView::identifier

The identifier of this platform view. This identifier is specified by the application when a platform view is added to the scene via the SceneBuilder.addPlatformView call.

Definition at line 822 of file embedder.h.

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

◆ mutations

const FlutterPlatformViewMutation** FlutterPlatformView::mutations

The mutations to be applied by this platform view before it is composited on-screen. The Flutter application may transform the platform view but these transformations cannot be affected by the Flutter compositor because it does not render platform views. Since the embedder is responsible for composition of these views, it is also the embedder's responsibility to affect the appropriate transformation.

The mutations must be applied in order. The mutations done in the collection don't take into account the device pixel ratio or the root surface transformation. If these exist, the first mutation in the list will be a transformation mutation to make sure subsequent mutations are in the correct coordinate space.

Definition at line 838 of file embedder.h.

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

◆ mutations_count

size_t FlutterPlatformView::mutations_count

The number of mutations to be applied to the platform view by the embedder before on-screen composition.

Definition at line 825 of file embedder.h.

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

◆ struct_size

size_t FlutterPlatformView::struct_size

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

Definition at line 818 of file embedder.h.

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


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