Searched refs:ShaderEffect (Results 1 – 3 of 3) sorted by relevance
34 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::ShaderEffect47 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()
56 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);
36 : fShaderEffect(sksg::ShaderEffect::Make(std::move(layer))) { in GradientRampEffectAdapter()113 const sk_sp<sksg::ShaderEffect> fShaderEffect;