#include <embedder_layers.h>
Public Types | |
| using | PresentCallback = std::function< bool(FlutterViewId view_id, const std::vector< const FlutterLayer * > &layers)> |
Public Member Functions | |
| EmbedderLayers (DlISize frame_size, double device_pixel_ratio, DlMatrix root_surface_transformation, uint64_t presentation_time) | |
| ~EmbedderLayers () | |
| void | PushBackingStoreLayer (const FlutterBackingStore *store, const std::vector< DlIRect > &drawn_region) |
| void | PushPlatformViewLayer (FlutterPlatformViewIdentifier identifier, const EmbeddedViewParams ¶ms) |
| void | InvokePresentCallback (FlutterViewId view_id, const PresentCallback &callback) const |
Definition at line 17 of file embedder_layers.h.
| using flutter::EmbedderLayers::PresentCallback = std::function<bool(FlutterViewId view_id, const std::vector<const FlutterLayer*>& layers)> |
Definition at line 32 of file embedder_layers.h.
| flutter::EmbedderLayers::EmbedderLayers | ( | DlISize | frame_size, |
| double | device_pixel_ratio, | ||
| DlMatrix | root_surface_transformation, | ||
| uint64_t | presentation_time | ||
| ) |
Definition at line 11 of file embedder_layers.cc.
|
default |
| void flutter::EmbedderLayers::InvokePresentCallback | ( | FlutterViewId | view_id, |
| const PresentCallback & | callback | ||
| ) | const |
Definition at line 242 of file embedder_layers.cc.
| void flutter::EmbedderLayers::PushBackingStoreLayer | ( | const FlutterBackingStore * | store, |
| const std::vector< DlIRect > & | drawn_region | ||
| ) |
Definition at line 22 of file embedder_layers.cc.
References FlutterLayer::backing_store, FlutterLayer::backing_store_present_info, FlutterSize::height, kFlutterLayerContentTypeBackingStore, FlutterRect::left, impeller::TRect< Scalar >::Make(), impeller::TRect< Scalar >::MakeSize(), FlutterLayer::offset, FlutterLayer::presentation_time, FlutterLayer::size, FlutterLayer::struct_size, FlutterLayer::type, FlutterSize::width, FlutterPoint::x, and FlutterPoint::y.
| void flutter::EmbedderLayers::PushPlatformViewLayer | ( | FlutterPlatformViewIdentifier | identifier, |
| const EmbeddedViewParams & | params | ||
| ) |
Definition at line 135 of file embedder_layers.cc.
References flutter::ConvertMutation(), FlutterSize::height, i, impeller::Matrix::IsIdentity(), flutter::kBackdropFilter, flutter::kClipPath, flutter::kClipRect, flutter::kClipRRect, flutter::kClipRSE, kFlutterLayerContentTypePlatformView, flutter::kOpacity, flutter::kTransform, impeller::TRect< Scalar >::MakeXYWH(), FlutterLayer::offset, params, FlutterLayer::platform_view, FlutterLayer::presentation_time, FlutterLayer::size, FlutterPlatformView::struct_size, FlutterLayer::struct_size, FlutterLayer::type, view, FlutterSize::width, FlutterPoint::x, and FlutterPoint::y.