5#include "flutter/display_list/skia/dl_sk_paint_dispatcher.h"
11#include "flutter/display_list/dl_blend_mode.h"
12#include "flutter/display_list/skia/dl_sk_conversions.h"
13#include "flutter/fml/logging.h"
29 save_stack_.emplace_back(opacity_);
30 set_opacity(child_opacity);
33 if (save_stack_.empty()) {
36 set_opacity(save_stack_.back().opacity);
37 save_stack_.pop_back();
88 sk_color_filter_ =
ToSk(filter);
96 if (!invert_colors_) {
97 return sk_color_filter_;
101 if (sk_color_filter_) {
102 invert_filter = invert_filter->
makeComposed(sk_color_filter_);
104 return invert_filter;
sk_sp< SkColorFilter > makeComposed(sk_sp< SkColorFilter > inner) const
static sk_sp< SkColorFilter > Matrix(const SkColorMatrix &)
void setStyle(Style style)
void setColor(SkColor color)
void setStrokeMiter(SkScalar miter)
void setAntiAlias(bool aa)
void setImageFilter(sk_sp< SkImageFilter > imageFilter)
void setStrokeCap(Cap cap)
void setStrokeJoin(Join join)
void setMaskFilter(sk_sp< SkMaskFilter > maskFilter)
void setShader(sk_sp< SkShader > shader)
void setBlendMode(SkBlendMode mode)
void setColorFilter(sk_sp< SkColorFilter > colorFilter)
void setStrokeWidth(SkScalar width)
void setStrokeMiter(SkScalar limit) override
void setDrawStyle(DlDrawStyle style) override
void setMaskFilter(const DlMaskFilter *filter) override
void setColorFilter(const DlColorFilter *filter) override
void setAntiAlias(bool aa) override
void setStrokeCap(DlStrokeCap cap) override
void setBlendMode(DlBlendMode mode) override
void setColorSource(const DlColorSource *source) override
void setStrokeWidth(SkScalar width) override
void save_opacity(SkScalar opacity_for_children)
void setImageFilter(const DlImageFilter *filter) override
void setColor(DlColor color) override
void setInvertColors(bool invert) override
void setStrokeJoin(DlStrokeJoin join) override
SkPaint ToSk(const DlPaint &paint)
constexpr float kInvertColorMatrix[20]
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 &)