5#include "flutter/flow/layers/platform_view_layer.h"
7#include "flutter/display_list/skia/dl_sk_canvas.h"
14 : offset_(
offset), size_(
size), view_id_(view_id) {}
21 FML_DLOG(
ERROR) <<
"Trying to embed a platform view but the PrerollContext "
22 "does not support embedding";
29 std::unique_ptr<EmbeddedViewParams>
params =
39 FML_DLOG(
ERROR) <<
"Trying to embed a platform view but the PaintContext "
40 "does not support embedding";
Developer-facing API for rendering anything within the engine.
virtual void PrerollCompositeEmbeddedView(int64_t platform_view_id, std::unique_ptr< EmbeddedViewParams > params)=0
virtual void PushVisitedPlatformView(int64_t platform_view_id)
virtual DlCanvas * CompositeEmbeddedView(int64_t platform_view_id)=0
SkMatrix transform_3x3() const
void fill(MutatorsStack *mutators)
void set_delegate(DlCanvas *canvas)
void set_subtree_has_platform_view(bool value)
void set_paint_bounds(const SkRect &paint_bounds)
const EmbeddedViewParams * params
#define FML_DLOG(severity)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
constexpr float y() const
constexpr float x() const
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
ExternalViewEmbedder * view_embedder
bool rendering_above_platform_view
LayerStateStack & state_stack
LayerStateStack & state_stack
ExternalViewEmbedder * view_embedder