5#ifndef FLUTTER_DISPLAY_LIST_UTILS_DL_RECEIVER_UTILS_H_
6#define FLUTTER_DISPLAY_LIST_UTILS_DL_RECEIVER_UTILS_H_
8#include "flutter/display_list/dl_op_receiver.h"
9#include "flutter/fml/logging.h"
46 bool is_aa)
override {}
49 bool is_aa)
override {}
52 bool is_aa)
override {}
100 bool use_center)
override {}
108 bool render_with_attributes)
override {}
113 bool render_with_attributes,
119 bool render_with_attributes)
override {}
128 bool render_with_attributes)
override {}
140 bool transparent_occluder,
static const int points[]
Internal API for rendering recorded display lists to backends.
Holds all of the data (both required and optional) for a DisplayList drawVertices call.
void setDrawStyle(DlDrawStyle style) override
void setColorSource(const DlColorSource *source) override
void setMaskFilter(const DlMaskFilter *filter) override
void setColorFilter(const DlColorFilter *filter) override
void setColor(DlColor color) override
void setStrokeJoin(DlStrokeJoin join) override
void setStrokeMiter(float limit) override
void setInvertColors(bool invert) override
void setStrokeCap(DlStrokeCap cap) override
void setBlendMode(DlBlendMode mode) override
void setStrokeWidth(float width) override
void setImageFilter(const DlImageFilter *filter) override
void setAntiAlias(bool aa) override
void drawColor(DlColor color, DlBlendMode mode) override
void drawImageRect(const sk_sp< DlImage > image, const SkRect &src, const SkRect &dst, DlImageSampling sampling, bool render_with_attributes, SrcRectConstraint constraint) override
void drawDisplayList(const sk_sp< DisplayList > display_list, SkScalar opacity) override
void drawTextFrame(const std::shared_ptr< impeller::TextFrame > &text_frame, SkScalar x, SkScalar y) override
void drawPoints(DlCanvas::PointMode mode, uint32_t count, const SkPoint points[]) override
void drawPath(const SkPath &path) override
void drawRRect(const SkRRect &rrect) override
void saveLayer(const SkRect &bounds, const SaveLayerOptions options, const DlImageFilter *backdrop) override
void drawImageNine(const sk_sp< DlImage > image, const SkIRect ¢er, const SkRect &dst, DlFilterMode filter, bool render_with_attributes) override
void drawVertices(const DlVertices *vertices, DlBlendMode mode) override
void drawImage(const sk_sp< DlImage > image, const SkPoint point, DlImageSampling sampling, bool render_with_attributes) override
void drawCircle(const SkPoint ¢er, SkScalar radius) override
void drawOval(const SkRect &bounds) override
void drawLine(const SkPoint &p0, const SkPoint &p1) override
void drawDashedLine(const DlPoint &p0, const DlPoint &p1, DlScalar on_length, DlScalar off_length) override
void drawDRRect(const SkRRect &outer, const SkRRect &inner) override
void drawRect(const SkRect &rect) override
void drawArc(const SkRect &oval_bounds, SkScalar start_degrees, SkScalar sweep_degrees, bool use_center) 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 drawPaint() override
void drawTextBlob(const sk_sp< SkTextBlob > blob, SkScalar x, SkScalar y) override
void drawShadow(const SkPath &path, const DlColor color, const SkScalar elevation, bool transparent_occluder, SkScalar dpr) override
sk_sp< const SkImage > atlas
Optional< SkRect > bounds
sk_sp< const SkImage > image
sk_sp< const SkImageFilter > backdrop
sk_sp< SkBlender > blender SkRect rect
PODArray< SkColor > colors
SkSamplingOptions sampling
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 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
static SkString join(const CommandLineFlags::StringArray &)