Home
last modified time | relevance | path

Searched refs:RenderNode (Results 1 – 25 of 134) sorted by relevance

123456

/third_party/skia/modules/skottie/src/effects/
DEffects.h28 sk_sp<sksg::RenderNode> attachEffects(const skjson::ArrayValue&,
29 sk_sp<sksg::RenderNode>) const;
31 sk_sp<sksg::RenderNode> attachStyles(const skjson::ArrayValue&,
32 sk_sp<sksg::RenderNode>) const;
41 using EffectBuilderT = sk_sp<sksg::RenderNode>(EffectBuilder::*)(const skjson::ArrayValue&,
42 sk_sp<sksg::RenderNode>) const;
44 sk_sp<sksg::RenderNode> attachBlackAndWhiteEffect (const skjson::ArrayValue&,
45 sk_sp<sksg::RenderNode>) const;
46 sk_sp<sksg::RenderNode> attachBrightnessContrastEffect(const skjson::ArrayValue&,
47 sk_sp<sksg::RenderNode>) const;
[all …]
DGaussianBlurEffect.cpp23 sk_sp<sksg::RenderNode> layer, in Make()
30 const sk_sp<sksg::RenderNode>& node() const { return fImageFilterEffect; } in node()
34 sk_sp<sksg::RenderNode> layer, in GaussianBlurEffectAdapter()
76 const sk_sp<sksg::RenderNode> fImageFilterEffect;
85 sk_sp<sksg::RenderNode> EffectBuilder::attachGaussianBlurEffect( in attachGaussianBlurEffect()
87 sk_sp<sksg::RenderNode> layer) const { in attachGaussianBlurEffect()
DDropShadowEffect.cpp23 sk_sp<sksg::RenderNode> layer, in Make()
47 const sk_sp<sksg::RenderNode>& node() const { return fImageFilterEffect; } in node()
50 explicit DropShadowAdapter(sk_sp<sksg::RenderNode> layer) in DropShadowAdapter()
73 const sk_sp<sksg::RenderNode> fImageFilterEffect;
85 sk_sp<sksg::RenderNode> EffectBuilder::attachDropShadowEffect(const skjson::ArrayValue& jprops, in attachDropShadowEffect()
86 sk_sp<sksg::RenderNode> layer) const { in attachDropShadowEffect()
/third_party/flutter/skia/modules/skottie/src/effects/
DEffects.h27 sk_sp<sksg::RenderNode> attachEffects(const skjson::ArrayValue&,
28 sk_sp<sksg::RenderNode>) const;
33 using EffectBuilderT = sk_sp<sksg::RenderNode>(EffectBuilder::*)(const skjson::ArrayValue&,
34 sk_sp<sksg::RenderNode>) const;
36 sk_sp<sksg::RenderNode> attachDropShadowEffect (const skjson::ArrayValue&,
37 sk_sp<sksg::RenderNode>) const;
38 sk_sp<sksg::RenderNode> attachFillEffect (const skjson::ArrayValue&,
39 sk_sp<sksg::RenderNode>) const;
40 sk_sp<sksg::RenderNode> attachGaussianBlurEffect (const skjson::ArrayValue&,
41 sk_sp<sksg::RenderNode>) const;
[all …]
/third_party/flutter/skia/modules/sksg/src/
DSkSGRenderNode.cpp25 RenderNode::RenderNode(uint32_t inval_traits) : INHERITED(inval_traits) {} in RenderNode() function in sksg::RenderNode
27 bool RenderNode::isVisible() const { in isVisible()
31 void RenderNode::setVisible(bool v) { in setVisible()
41 void RenderNode::render(SkCanvas* canvas, const RenderContext* ctx) const { in render()
48 const RenderNode* RenderNode::nodeAt(const SkPoint& p) const { in nodeAt()
79 bool RenderNode::RenderContext::requiresIsolation() const { in requiresIsolation()
87 void RenderNode::RenderContext::modulatePaint(const SkMatrix& ctm, SkPaint* paint) const { in modulatePaint()
99 RenderNode::ScopedRenderContext::ScopedRenderContext(SkCanvas* canvas, const RenderContext* ctx) in ScopedRenderContext()
104 RenderNode::ScopedRenderContext::~ScopedRenderContext() { in ~ScopedRenderContext()
110 RenderNode::ScopedRenderContext&&
[all …]
DSkSGRenderEffect.cpp42 sk_sp<MaskFilterEffect> MaskFilterEffect::Make(sk_sp<RenderNode> child, sk_sp<MaskFilter> mf) { in Make()
47 MaskFilterEffect::MaskFilterEffect(sk_sp<RenderNode> child, sk_sp<MaskFilter> mf) in MaskFilterEffect()
79 sk_sp<ShaderEffect> ShaderEffect::Make(sk_sp<RenderNode> child, sk_sp<Shader> shader) { in Make()
84 ShaderEffect::ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader) in ShaderEffect()
135 sk_sp<RenderNode> ImageFilterEffect::Make(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) { in Make()
136 return filter ? sk_sp<RenderNode>(new ImageFilterEffect(std::move(child), std::move(filter))) in Make()
140 ImageFilterEffect::ImageFilterEffect(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) in ImageFilterEffect()
164 const RenderNode* ImageFilterEffect::onNodeAt(const SkPoint& p) const { in onNodeAt()
244 sk_sp<BlendModeEffect> BlendModeEffect::Make(sk_sp<RenderNode> child, SkBlendMode mode) { in Make()
249 BlendModeEffect::BlendModeEffect(sk_sp<RenderNode> child, SkBlendMode mode) in BlendModeEffect()
[all …]
/third_party/skia/modules/sksg/src/
DSkSGRenderNode.cpp25 RenderNode::RenderNode(uint32_t inval_traits) : INHERITED(inval_traits) {} in RenderNode() function in sksg::RenderNode
27 bool RenderNode::isVisible() const { in isVisible()
31 void RenderNode::setVisible(bool v) { in setVisible()
41 void RenderNode::render(SkCanvas* canvas, const RenderContext* ctx) const { in render()
49 const RenderNode* RenderNode::nodeAt(const SkPoint& p) const { in nodeAt()
86 bool RenderNode::RenderContext::requiresIsolation() const { in requiresIsolation()
94 void RenderNode::RenderContext::modulatePaint(const SkMatrix& ctm, SkPaint* paint, in modulatePaint()
114 RenderNode::ScopedRenderContext::ScopedRenderContext(SkCanvas* canvas, const RenderContext* ctx) in ScopedRenderContext()
119 RenderNode::ScopedRenderContext::~ScopedRenderContext() { in ~ScopedRenderContext()
131 RenderNode::ScopedRenderContext&&
[all …]
DSkSGRenderEffect.cpp17 sk_sp<MaskShaderEffect> MaskShaderEffect::Make(sk_sp<RenderNode> child, sk_sp<SkShader> sh) { in Make()
22 MaskShaderEffect::MaskShaderEffect(sk_sp<RenderNode> child, sk_sp<SkShader> sh) in MaskShaderEffect()
34 sk_sp<ShaderEffect> ShaderEffect::Make(sk_sp<RenderNode> child, sk_sp<Shader> shader) { in Make()
39 ShaderEffect::ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader) in ShaderEffect()
90 sk_sp<RenderNode> ImageFilterEffect::Make(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) { in Make()
91 return filter ? sk_sp<RenderNode>(new ImageFilterEffect(std::move(child), std::move(filter))) in Make()
95 ImageFilterEffect::ImageFilterEffect(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) in ImageFilterEffect()
122 const RenderNode* ImageFilterEffect::onNodeAt(const SkPoint& p) const { in onNodeAt()
205 sk_sp<BlendModeEffect> BlendModeEffect::Make(sk_sp<RenderNode> child, SkBlendMode mode) { in Make()
210 BlendModeEffect::BlendModeEffect(sk_sp<RenderNode> child, SkBlendMode mode) in BlendModeEffect()
[all …]
/third_party/flutter/skia/modules/sksg/include/
DSkSGGroup.h20 class Group : public RenderNode {
23 return sk_sp<Group>(new Group(std::vector<sk_sp<RenderNode>>())); in Make()
26 static sk_sp<Group> Make(std::vector<sk_sp<RenderNode>> children) { in Make()
30 void addChild(sk_sp<RenderNode>);
31 void removeChild(const sk_sp<RenderNode>&);
38 explicit Group(std::vector<sk_sp<RenderNode>>);
42 const RenderNode* onNodeAt(const SkPoint&) const override;
47 std::vector<sk_sp<RenderNode>> fChildren;
49 typedef RenderNode INHERITED;
DSkSGColorFilter.h28 explicit ColorFilter(sk_sp<RenderNode>);
31 const RenderNode* onNodeAt(const SkPoint&) const final;
50 static sk_sp<ExternalColorFilter> Make(sk_sp<RenderNode> child);
60 explicit ExternalColorFilter(sk_sp<RenderNode>);
74 static sk_sp<ModeColorFilter> Make(sk_sp<RenderNode> child,
82 ModeColorFilter(sk_sp<RenderNode>, sk_sp<Color>, SkBlendMode);
99 static sk_sp<GradientColorFilter> Make(sk_sp<RenderNode> child,
101 static sk_sp<GradientColorFilter> Make(sk_sp<RenderNode> child,
110 GradientColorFilter(sk_sp<RenderNode>, std::vector<sk_sp<Color>>);
DSkSGEffectNode.h21 class EffectNode : public RenderNode {
23 explicit EffectNode(sk_sp<RenderNode>, uint32_t inval_traits = 0);
27 const RenderNode* onNodeAt(const SkPoint&) const override;
31 const sk_sp<RenderNode>& getChild() const { return fChild; } in getChild()
34 sk_sp<RenderNode> fChild;
36 typedef RenderNode INHERITED;
DSkSGRenderNode.h27 class RenderNode : public Node {
37 const RenderNode* nodeAt(const SkPoint& point) const;
45 explicit RenderNode(uint32_t inval_traits = 0);
48 virtual const RenderNode* onNodeAt(const SkPoint& p) const = 0;
130 class CustomRenderNode : public RenderNode {
132 explicit CustomRenderNode(std::vector<sk_sp<RenderNode>>&& children);
135 const std::vector<sk_sp<RenderNode>>& children() const { return fChildren; } in children()
140 std::vector<sk_sp<RenderNode>> fChildren;
142 using INHERITED = RenderNode;
DSkSGMaskEffect.h26 static sk_sp<MaskEffect> Make(sk_sp<RenderNode> child, sk_sp<RenderNode> mask,
36 MaskEffect(sk_sp<RenderNode>, sk_sp<RenderNode> mask, Mode);
39 const RenderNode* onNodeAt(const SkPoint&) const override;
44 const sk_sp<RenderNode> fMaskNode;
DSkSGRenderEffect.h67 static sk_sp<MaskFilterEffect> Make(sk_sp<RenderNode>, sk_sp<MaskFilter>);
75 MaskFilterEffect(sk_sp<RenderNode>, sk_sp<MaskFilter>);
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);
170 static sk_sp<RenderNode> Make(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter);
174 const RenderNode* onNodeAt(const SkPoint&) const override;
179 ImageFilterEffect(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter);
247 static sk_sp<BlendModeEffect> Make(sk_sp<RenderNode> child,
254 const RenderNode* onNodeAt(const SkPoint&) const override;
257 BlendModeEffect(sk_sp<RenderNode>, SkBlendMode);
DSkSGScene.h23 class RenderNode; variable
65 static std::unique_ptr<Scene> Make(sk_sp<RenderNode> root, AnimatorList&& animators);
72 const RenderNode* nodeAt(const SkPoint&) const;
75 Scene(sk_sp<RenderNode> root, AnimatorList&& animators);
77 const sk_sp<RenderNode> fRoot;
/third_party/skia/modules/sksg/include/
DSkSGGroup.h20 class Group : public RenderNode {
23 return sk_sp<Group>(new Group(std::vector<sk_sp<RenderNode>>())); in Make()
26 static sk_sp<Group> Make(std::vector<sk_sp<RenderNode>> children) { in Make()
30 void addChild(sk_sp<RenderNode>);
31 void removeChild(const sk_sp<RenderNode>&);
39 explicit Group(std::vector<sk_sp<RenderNode>>);
43 const RenderNode* onNodeAt(const SkPoint&) const override;
48 std::vector<sk_sp<RenderNode>> fChildren;
51 using INHERITED = RenderNode;
DSkSGColorFilter.h28 explicit ColorFilter(sk_sp<RenderNode>);
31 const RenderNode* onNodeAt(const SkPoint&) const final;
50 static sk_sp<ExternalColorFilter> Make(sk_sp<RenderNode> child);
60 explicit ExternalColorFilter(sk_sp<RenderNode>);
74 static sk_sp<ModeColorFilter> Make(sk_sp<RenderNode> child,
82 ModeColorFilter(sk_sp<RenderNode>, sk_sp<Color>, SkBlendMode);
99 static sk_sp<GradientColorFilter> Make(sk_sp<RenderNode> child,
101 static sk_sp<GradientColorFilter> Make(sk_sp<RenderNode> child,
110 GradientColorFilter(sk_sp<RenderNode>, std::vector<sk_sp<Color>>);
DSkSGEffectNode.h21 class EffectNode : public RenderNode {
23 explicit EffectNode(sk_sp<RenderNode>, uint32_t inval_traits = 0);
27 const RenderNode* onNodeAt(const SkPoint&) const override;
31 const sk_sp<RenderNode>& getChild() const { return fChild; } in getChild()
34 sk_sp<RenderNode> fChild;
36 using INHERITED = RenderNode;
DSkSGRenderNode.h26 class RenderNode : public Node {
36 const RenderNode* nodeAt(const SkPoint& point) const;
44 explicit RenderNode(uint32_t inval_traits = 0);
47 virtual const RenderNode* onNodeAt(const SkPoint& p) const = 0;
132 class CustomRenderNode : public RenderNode {
134 explicit CustomRenderNode(std::vector<sk_sp<RenderNode>>&& children);
137 const std::vector<sk_sp<RenderNode>>& children() const { return fChildren; } in children()
142 std::vector<sk_sp<RenderNode>> fChildren;
144 using INHERITED = RenderNode;
DSkSGRenderEffect.h60 static sk_sp<ShaderEffect> Make(sk_sp<RenderNode> child, sk_sp<Shader> shader = nullptr);
70 ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader);
82 static sk_sp<MaskShaderEffect> Make(sk_sp<RenderNode>, sk_sp<SkShader> = nullptr);
90 MaskShaderEffect(sk_sp<RenderNode>, sk_sp<SkShader>);
136 static sk_sp<RenderNode> Make(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter);
140 const RenderNode* onNodeAt(const SkPoint&) const override;
145 ImageFilterEffect(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter);
234 static sk_sp<BlendModeEffect> Make(sk_sp<RenderNode> child,
241 const RenderNode* onNodeAt(const SkPoint&) const override;
244 BlendModeEffect(sk_sp<RenderNode>, SkBlendMode);
[all …]
DSkSGMaskEffect.h28 static sk_sp<MaskEffect> Make(sk_sp<RenderNode> child, sk_sp<RenderNode> mask,
38 MaskEffect(sk_sp<RenderNode>, sk_sp<RenderNode> mask, Mode);
41 const RenderNode* onNodeAt(const SkPoint&) const override;
46 const sk_sp<RenderNode> fMaskNode;
DSkSGScene.h23 class RenderNode; variable
31 static std::unique_ptr<Scene> Make(sk_sp<RenderNode> root);
38 const RenderNode* nodeAt(const SkPoint&) const;
41 explicit Scene(sk_sp<RenderNode> root);
43 const sk_sp<RenderNode> fRoot;
/third_party/flutter/skia/modules/skottie/src/
DSkottiePriv.h34 class RenderNode; variable
89 sk_sp<sksg::RenderNode> attachOpacity(const skjson::ObjectValue&,
90 sk_sp<sksg::RenderNode>) const;
122 sk_sp<sksg::RenderNode> attachDiscardableAdapter(Args&&... args) const { in attachDiscardableAdapter()
175 sk_sp<sksg::RenderNode> attachComposition(const skjson::ObjectValue&) const;
176 sk_sp<sksg::RenderNode> attachLayer(const skjson::ObjectValue*,
179 sk_sp<sksg::RenderNode> attachBlendMode(const skjson::ObjectValue&,
180 sk_sp<sksg::RenderNode>) const;
182 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*) const;
183 sk_sp<sksg::RenderNode> attachAssetRef(const skjson::ObjectValue&,
[all …]
DComposition.cpp20 sk_sp<sksg::RenderNode> AnimationBuilder::attachNestedAnimation(const char* name) const { in attachNestedAnimation()
21 class SkottieSGAdapter final : public sksg::RenderNode { in attachNestedAnimation()
33 const RenderNode* onNodeAt(const SkPoint&) const override { return nullptr; } in attachNestedAnimation()
87 sk_sp<sksg::RenderNode> AnimationBuilder::attachAssetRef( in attachAssetRef()
89 const std::function<sk_sp<sksg::RenderNode>(const skjson::ObjectValue&)>& func) const { in attachAssetRef()
120 sk_sp<sksg::RenderNode> AnimationBuilder::attachComposition( in attachComposition()
125 std::vector<sk_sp<sksg::RenderNode>> layers; in attachComposition()
148 sk_sp<sksg::RenderNode> comp; in attachComposition()
/third_party/skia/modules/skottie/src/
DSkottiePriv.h36 class RenderNode; variable
91 sk_sp<sksg::RenderNode> attachOpacity(const skjson::ObjectValue&,
92 sk_sp<sksg::RenderNode>) const;
200 sk_sp<sksg::RenderNode> attachBlendMode(const skjson::ObjectValue&,
201 sk_sp<sksg::RenderNode>) const;
203 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*,
206 sk_sp<sksg::RenderNode> attachFootageAsset(const skjson::ObjectValue&, LayerInfo*) const;
208 sk_sp<sksg::RenderNode> attachExternalPrecompLayer(const skjson::ObjectValue&,
211 sk_sp<sksg::RenderNode> attachFootageLayer(const skjson::ObjectValue&, LayerInfo*) const;
212 sk_sp<sksg::RenderNode> attachNullLayer (const skjson::ObjectValue&, LayerInfo*) const;
[all …]

123456