8#ifndef SkSGRenderEffect_DEFINED
9#define SkSGRenderEffect_DEFINED
33class InvalidationController;
194 enum class Mode { kShadowAndForeground, kShadowOnly };
@ kSrcOver
r = s + (1-sa)*d
constexpr SkColor SK_ColorBLACK
#define SG_ATTRIBUTE(attr_name, attr_type, attr_container)
void onRender(SkCanvas *, const RenderContext *) const override
const RenderNode * onNodeAt(const SkPoint &) const override
static sk_sp< BlenderEffect > Make(sk_sp< RenderNode > child, sk_sp< SkBlender >=nullptr)
~BlenderEffect() override
~BlurImageFilter() override
static sk_sp< BlurImageFilter > Make()
sk_sp< SkImageFilter > onRevalidateFilter() override
static sk_sp< DropShadowImageFilter > Make()
~DropShadowImageFilter() override
sk_sp< SkImageFilter > onRevalidateFilter() override
EffectNode(sk_sp< RenderNode >, uint32_t inval_traits=0)
static sk_sp< ExternalImageFilter > Make()
~ExternalImageFilter() override
const RenderNode * onNodeAt(const SkPoint &) const override
SkRect onRevalidate(InvalidationController *, const SkMatrix &) override
~ImageFilterEffect() override
static sk_sp< RenderNode > Make(sk_sp< RenderNode > child, sk_sp< ImageFilter > filter)
void onRender(SkCanvas *, const RenderContext *) const override
const sk_sp< SkImageFilter > & getFilter() const
SkRect onRevalidate(InvalidationController *, const SkMatrix &) final
virtual sk_sp< SkImageFilter > onRevalidateFilter()=0
static sk_sp< LayerEffect > Make(sk_sp< RenderNode > child, SkBlendMode mode=SkBlendMode::kSrcOver)
static sk_sp< MaskShaderEffect > Make(sk_sp< RenderNode >, sk_sp< SkShader >=nullptr)
void onRender(SkCanvas *, const RenderContext *) const override
Node(uint32_t invalTraits)
friend class ImageFilterEffect
SkRect onRevalidate(InvalidationController *, const SkMatrix &) override
void setShader(sk_sp< Shader >)
static sk_sp< ShaderEffect > Make(sk_sp< RenderNode > child, sk_sp< Shader > shader=nullptr)
void onRender(SkCanvas *, const RenderContext *) const override
const sk_sp< SkShader > & getShader() const
SkRect onRevalidate(InvalidationController *, const SkMatrix &) final
virtual sk_sp< SkShader > onRevalidateShader()=0
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
SkTileMode TileMode(jint tm)