Home
last modified time | relevance | path

Searched refs:ShaderEffect (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/modules/sksg/src/
DSkSGRenderEffect.cpp79 sk_sp<ShaderEffect> ShaderEffect::Make(sk_sp<RenderNode> child, sk_sp<Shader> shader) { in Make()
80 return child ? sk_sp<ShaderEffect>(new ShaderEffect(std::move(child), std::move(shader))) in Make()
84 ShaderEffect::ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader) in ShaderEffect() function in sksg::ShaderEffect
92 ShaderEffect::~ShaderEffect() { in ~ShaderEffect()
98 void ShaderEffect::setShader(sk_sp<Shader> sh) { in setShader()
109 SkRect ShaderEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { in onRevalidate()
117 void ShaderEffect::onRender(SkCanvas* canvas, const RenderContext* ctx) const { in onRender()
/third_party/skia/modules/sksg/src/
DSkSGRenderEffect.cpp34 sk_sp<ShaderEffect> ShaderEffect::Make(sk_sp<RenderNode> child, sk_sp<Shader> shader) { in Make()
35 return child ? sk_sp<ShaderEffect>(new ShaderEffect(std::move(child), std::move(shader))) in Make()
39 ShaderEffect::ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader) in ShaderEffect() function in sksg::ShaderEffect
47 ShaderEffect::~ShaderEffect() { in ~ShaderEffect()
53 void ShaderEffect::setShader(sk_sp<Shader> sh) { in setShader()
64 SkRect ShaderEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { in onRevalidate()
72 void ShaderEffect::onRender(SkCanvas* canvas, const RenderContext* ctx) const { in onRender()
/third_party/flutter/skia/modules/sksg/include/
DSkSGRenderEffect.h110 class ShaderEffect final : public EffectNode {
112 ~ShaderEffect() override;
114 static sk_sp<ShaderEffect> Make(sk_sp<RenderNode> child, sk_sp<Shader> shader = 0);
124 ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader);
/third_party/skia/modules/sksg/include/
DSkSGRenderEffect.h56 class ShaderEffect final : public EffectNode {
58 ~ShaderEffect() override;
60 static sk_sp<ShaderEffect> Make(sk_sp<RenderNode> child, sk_sp<Shader> shader = nullptr);
70 ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader);
/third_party/flutter/skia/modules/skottie/src/effects/
DGradientEffect.cpp24 : fRoot(sksg::ShaderEffect::Make(std::move(child))) {} in GradientRampEffectAdapter()
36 const sk_sp<sksg::ShaderEffect>& root() const { return fRoot; } in ADAPTER_PROPERTY()
92 sk_sp<sksg::ShaderEffect> fRoot;
/third_party/skia/modules/skottie/src/effects/
DGradientEffect.cpp36 : fShaderEffect(sksg::ShaderEffect::Make(std::move(layer))) { in GradientRampEffectAdapter()
113 const sk_sp<sksg::ShaderEffect> fShaderEffect;
/third_party/flutter/skia/modules/skottie/src/
DSkottieAdapter.h33 class ShaderEffect; variable