5#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_LAYERS_H_
6#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_LAYERS_H_
11#include "flutter/flow/embedded_views.h"
12#include "flutter/fml/macros.h"
13#include "flutter/shell/platform/embedder/embedder.h"
22 double device_pixel_ratio,
23 SkMatrix root_surface_transformation,
24 uint64_t presentation_time);
29 const std::vector<SkIRect>& drawn_region);
36 const std::vector<const FlutterLayer*>& layers)>;
42 const double device_pixel_ratio_;
43 const SkMatrix root_surface_transformation_;
44 std::vector<std::unique_ptr<FlutterPlatformView>> platform_views_referenced_;
45 std::vector<std::unique_ptr<FlutterPlatformViewMutation>>
46 mutations_referenced_;
47 std::vector<std::unique_ptr<std::vector<const FlutterPlatformViewMutation*>>>
48 mutations_arrays_referenced_;
49 std::vector<std::unique_ptr<FlutterBackingStorePresentInfo>>
50 present_info_referenced_;
51 std::vector<std::unique_ptr<FlutterRegion>> regions_referenced_;
52 std::vector<std::unique_ptr<std::vector<FlutterRect>>> rects_referenced_;
53 std::vector<FlutterLayer> presented_layers_;
54 uint64_t presentation_time_;
void PushPlatformViewLayer(FlutterPlatformViewIdentifier identifier, const EmbeddedViewParams ¶ms)
void PushBackingStoreLayer(const FlutterBackingStore *store, const std::vector< SkIRect > &drawn_region)
EmbedderLayers(SkISize frame_size, double device_pixel_ratio, SkMatrix root_surface_transformation, uint64_t presentation_time)
void InvokePresentCallback(FlutterViewId view_id, const PresentCallback &callback) const
std::function< bool(FlutterViewId view_id, const std::vector< const FlutterLayer * > &layers)> PresentCallback
static SkString identifier(const FontFamilyDesc &family, const FontDesc &font)
int64_t FlutterPlatformViewIdentifier
const EmbeddedViewParams * params
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
Dart_NativeFunction function