5#include "flutter/flow/embedded_views.h"
10 builder_ = std::make_unique<DisplayListBuilder>(
16 return builder_ ? builder_.get() :
nullptr;
20 display_list_ = builder_->Build();
26 return display_list_->rtree()->region();
34 display_list_->Dispatch(receiver);
38 return display_list_->bounds().isEmpty();
42 return builder_ ==
nullptr;
48 int64_t flutter_view_id,
50 const std::shared_ptr<impeller::AiksContext>& aiks_context,
51 std::unique_ptr<SurfaceFrame>
frame) {
62 std::shared_ptr<Mutator> element = std::make_shared<Mutator>(
rect);
63 vector_.push_back(element);
67 std::shared_ptr<Mutator> element = std::make_shared<Mutator>(
rrect);
68 vector_.push_back(element);
72 std::shared_ptr<Mutator> element = std::make_shared<Mutator>(
path);
73 vector_.push_back(element);
77 std::shared_ptr<Mutator> element = std::make_shared<Mutator>(
matrix);
78 vector_.push_back(element);
82 std::shared_ptr<Mutator> element = std::make_shared<Mutator>(alpha);
83 vector_.push_back(element);
87 const std::shared_ptr<const DlImageFilter>& filter,
88 const SkRect& filter_rect) {
89 std::shared_ptr<Mutator> element =
90 std::make_shared<Mutator>(filter, filter_rect);
91 vector_.push_back(element);
104const std::vector<std::shared_ptr<Mutator>>::const_reverse_iterator
106 return vector_.rend();
109const std::vector<std::shared_ptr<Mutator>>::const_reverse_iterator
111 return vector_.rbegin();
114const std::vector<std::shared_ptr<Mutator>>::const_iterator
116 return vector_.begin();
121 return vector_.end();
void dispatch(DlOpReceiver &receiver)
DlCanvas * canvas() override
const DlRegion & getRegion() const override
void end_recording() override
DisplayListEmbedderViewSlice(SkRect view_bounds)
void render_into(DlCanvas *canvas) override
Developer-facing API for rendering anything within the engine.
virtual void DrawDisplayList(const sk_sp< DisplayList > display_list, SkScalar opacity=SK_Scalar1)=0
Internal API for rendering recorded display lists to backends.
virtual bool SupportsDynamicThreadMerging()
virtual void CollectView(int64_t view_id)
virtual void SubmitFlutterView(int64_t flutter_view_id, GrDirectContext *context, const std::shared_ptr< impeller::AiksContext > &aiks_context, std::unique_ptr< SurfaceFrame > frame)
#define FML_DCHECK(condition)
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< SkBlender > blender SkRect rect
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path