Home
last modified time | relevance | path

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

/external/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()
/external/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);
/external/skia/modules/skottie/src/effects/
DGradientEffect.cpp36 : fShaderEffect(sksg::ShaderEffect::Make(std::move(layer))) { in GradientRampEffectAdapter()
113 const sk_sp<sksg::ShaderEffect> fShaderEffect;