5#ifndef FLUTTER_SHELL_COMMON_DL_OP_SPY_H_
6#define FLUTTER_SHELL_COMMON_DL_OP_SPY_H_
39 void setColor(
DlColor color)
override;
42 void saveLayer(
const DlRect& bounds,
45 std::optional<int64_t> backdrop_id)
override;
46 void restore()
override;
48 void drawPaint()
override;
50 void drawDashedLine(
const DlPoint& p0,
54 void drawRect(
const DlRect& rect)
override;
55 void drawOval(
const DlRect& bounds)
override;
57 void drawRoundRect(
const DlRoundRect& rrect)
override;
62 void drawArc(
const DlRect& oval_bounds,
69 void drawVertices(
const std::shared_ptr<DlVertices>& vertices,
71 void drawImage(
const sk_sp<DlImage>
image,
74 bool render_with_attributes)
override;
76 const sk_sp<DlImage>
image,
80 bool render_with_attributes,
82 void drawImageNine(
const sk_sp<DlImage>
image,
86 bool render_with_attributes)
override;
87 void drawAtlas(
const sk_sp<DlImage> atlas,
95 bool render_with_attributes)
override;
96 void drawDisplayList(
const sk_sp<DisplayList> display_list,
97 DlScalar opacity = SK_Scalar1)
override;
98 void drawText(
const std::shared_ptr<DlText>&
text,
104 bool transparent_occluder,
113 bool will_draw_ =
true;
115 bool did_draw_ =
false;
Internal API for rendering recorded display lists to backends.
bool did_draw()
Returns true if any non transparent content has been drawn.
FlutterVulkanImage * image
impeller::Scalar DlScalar
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 use test Running tests that layout and measure text will not yield consistent results across various platforms Enabling this option will make font resolution default to the Ahem test font on all 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
std::vector< Point > points