5#ifndef FLUTTER_SHELL_COMMON_DL_OP_SPY_H_
6#define FLUTTER_SHELL_COMMON_DL_OP_SPY_H_
8#include "flutter/display_list/dl_op_receiver.h"
9#include "flutter/display_list/utils/dl_receiver_utils.h"
58 bool use_center)
override;
66 bool render_with_attributes)
override;
72 bool render_with_attributes,
78 bool render_with_attributes)
override;
87 bool render_with_attributes)
override;
93 void drawTextFrame(
const std::shared_ptr<impeller::TextFrame>& text_frame,
99 bool transparent_occluder,
105 bool will_draw_ =
true;
107 bool did_draw_ =
false;
static const int points[]
static SkScalar center(float pos0, float pos1)
Internal API for rendering recorded display lists to backends.
void drawImageNine(const sk_sp< DlImage > image, const SkIRect ¢er, const SkRect &dst, DlFilterMode filter, bool render_with_attributes) override
void drawImageRect(const sk_sp< DlImage > image, const SkRect &src, const SkRect &dst, DlImageSampling sampling, bool render_with_attributes, SrcRectConstraint constraint=SrcRectConstraint::kFast) override
void drawPoints(PointMode mode, uint32_t count, const SkPoint points[]) override
void drawShadow(const SkPath &path, const DlColor color, const SkScalar elevation, bool transparent_occluder, SkScalar dpr) override
void drawArc(const SkRect &oval_bounds, SkScalar start_degrees, SkScalar sweep_degrees, bool use_center) override
void saveLayer(const SkRect &bounds, const SaveLayerOptions options, const DlImageFilter *backdrop) override
void drawTextFrame(const std::shared_ptr< impeller::TextFrame > &text_frame, SkScalar x, SkScalar y) override
void drawAtlas(const sk_sp< DlImage > atlas, const SkRSXform xform[], const SkRect tex[], const DlColor colors[], int count, DlBlendMode mode, DlImageSampling sampling, const SkRect *cull_rect, bool render_with_attributes) override
void drawVertices(const DlVertices *vertices, DlBlendMode mode) override
void drawRect(const SkRect &rect) override
void drawPaint() override
void setColorSource(const DlColorSource *source) override
void drawLine(const SkPoint &p0, const SkPoint &p1) override
void drawOval(const SkRect &bounds) override
void drawTextBlob(const sk_sp< SkTextBlob > blob, SkScalar x, SkScalar y) override
void drawDisplayList(const sk_sp< DisplayList > display_list, SkScalar opacity=SK_Scalar1) override
void drawCircle(const SkPoint ¢er, SkScalar radius) override
void drawDRRect(const SkRRect &outer, const SkRRect &inner) override
void drawPath(const SkPath &path) override
void drawColor(DlColor color, DlBlendMode mode) override
void setColor(DlColor color) override
bool did_draw()
Returns true if any non transparent content has been drawn.
void drawImage(const sk_sp< DlImage > image, const SkPoint point, DlImageSampling sampling, bool render_with_attributes) override
void drawRRect(const SkRRect &rrect) override
Holds all of the data (both required and optional) for a DisplayList drawVertices call.
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
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 mode