/external/skia/modules/sksg/src/ |
D | SkSGRenderNode.cpp | 16 RenderNode::RenderNode(uint32_t inval_traits) : INHERITED(inval_traits) {} in RenderNode() function in sksg::RenderNode 18 void RenderNode::render(SkCanvas* canvas, const RenderContext* ctx) const { in render() 25 const RenderNode* RenderNode::nodeAt(const SkPoint& p) const { in nodeAt() 29 bool RenderNode::RenderContext::modulatePaint(SkPaint* paint) const { in modulatePaint() 44 RenderNode::ScopedRenderContext::ScopedRenderContext(SkCanvas* canvas, const RenderContext* ctx) in ScopedRenderContext() 49 RenderNode::ScopedRenderContext::~ScopedRenderContext() { in ~ScopedRenderContext() 55 RenderNode::ScopedRenderContext&& 56 RenderNode::ScopedRenderContext::modulateOpacity(float opacity) { in modulateOpacity() 62 RenderNode::ScopedRenderContext&& 63 RenderNode::ScopedRenderContext::modulateColorFilter(sk_sp<SkColorFilter> cf) { in modulateColorFilter() [all …]
|
D | SkSGRenderEffect.cpp | 16 sk_sp<RenderNode> ImageFilterEffect::Make(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) { in Make() 17 return filter ? sk_sp<RenderNode>(new ImageFilterEffect(std::move(child), std::move(filter))) in Make() 21 ImageFilterEffect::ImageFilterEffect(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) in ImageFilterEffect() 45 const RenderNode* ImageFilterEffect::onNodeAt(const SkPoint& p) const { in onNodeAt() 124 sk_sp<BlendModeEffect> BlendModeEffect::Make(sk_sp<RenderNode> child, SkBlendMode mode) { in Make() 129 BlendModeEffect::BlendModeEffect(sk_sp<RenderNode> child, SkBlendMode mode) in BlendModeEffect() 141 const RenderNode* BlendModeEffect::onNodeAt(const SkPoint& p) const { in onNodeAt()
|
D | SkSGColorFilter.cpp | 19 ColorFilter::ColorFilter(sk_sp<RenderNode> child) in ColorFilter() 28 const RenderNode* ColorFilter::onNodeAt(const SkPoint& p) const { in onNodeAt() 41 sk_sp<ModeColorFilter> ModeColorFilter::Make(sk_sp<RenderNode> child, sk_sp<Color> color, in Make() 48 ModeColorFilter::ModeColorFilter(sk_sp<RenderNode> child, sk_sp<Color> color, SkBlendMode mode) in ModeColorFilter() 64 sk_sp<GradientColorFilter> GradientColorFilter::Make(sk_sp<RenderNode> child, in Make() 69 sk_sp<GradientColorFilter> GradientColorFilter::Make(sk_sp<RenderNode> child, in Make() 76 GradientColorFilter::GradientColorFilter(sk_sp<RenderNode> child, std::vector<sk_sp<Color>> colors) in GradientColorFilter()
|
D | SkSGGroup.cpp | 14 Group::Group(std::vector<sk_sp<RenderNode>> children) in Group() 34 void Group::addChild(sk_sp<RenderNode> node) { in addChild() 48 void Group::removeChild(const sk_sp<RenderNode>& node) { in removeChild() 69 const RenderNode* Group::onNodeAt(const SkPoint& p) const { in onNodeAt()
|
/external/skqp/modules/sksg/src/ |
D | SkSGRenderNode.cpp | 15 RenderNode::RenderNode() : INHERITED(0) {} in RenderNode() function in sksg::RenderNode 17 void RenderNode::render(SkCanvas* canvas, const RenderContext* ctx) const { in render() 22 bool RenderNode::RenderContext::modulatePaint(SkPaint* paint) const { in modulatePaint() 36 RenderNode::ScopedRenderContext::ScopedRenderContext(SkCanvas* canvas, const RenderContext* ctx) in ScopedRenderContext() 41 RenderNode::ScopedRenderContext::~ScopedRenderContext() { in ~ScopedRenderContext() 47 RenderNode::ScopedRenderContext&& 48 RenderNode::ScopedRenderContext::modulateOpacity(float opacity) { in modulateOpacity() 54 RenderNode::ScopedRenderContext&& 55 RenderNode::ScopedRenderContext::modulateColorFilter(sk_sp<SkColorFilter> cf) { in modulateColorFilter() 61 RenderNode::ScopedRenderContext&& [all …]
|
/external/skia/modules/skottie/src/ |
D | SkottiePriv.h | 34 class RenderNode; variable 78 sk_sp<sksg::RenderNode> attachOpacity(const skjson::ObjectValue&, AnimatorScope*, 79 sk_sp<sksg::RenderNode>) const; 96 sk_sp<sksg::RenderNode> attachComposition(const skjson::ObjectValue&, AnimatorScope*) const; 97 sk_sp<sksg::RenderNode> attachLayer(const skjson::ObjectValue*, AttachLayerContext*) const; 98 sk_sp<sksg::RenderNode> attachLayerEffects(const skjson::ArrayValue& jeffects, AnimatorScope*, 99 sk_sp<sksg::RenderNode>) const; 101 sk_sp<sksg::RenderNode> attachBlendMode(const skjson::ObjectValue&, 102 sk_sp<sksg::RenderNode>) const; 104 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*) const; [all …]
|
D | SkottieLayerEffect.cpp | 23 sk_sp<sksg::RenderNode> AttachTintLayerEffect(const skjson::ArrayValue& jprops, in AttachTintLayerEffect() 26 sk_sp<sksg::RenderNode> layer) { in AttachTintLayerEffect() 64 sk_sp<sksg::RenderNode> AttachTritoneLayerEffect(const skjson::ArrayValue& jprops, in AttachTritoneLayerEffect() 67 sk_sp<sksg::RenderNode> layer) { in AttachTritoneLayerEffect() 107 sk_sp<sksg::RenderNode> AttachFillLayerEffect(const skjson::ArrayValue& jprops, in AttachFillLayerEffect() 110 sk_sp<sksg::RenderNode> layer) { in AttachFillLayerEffect() 150 sk_sp<sksg::RenderNode> AttachDropShadowLayerEffect(const skjson::ArrayValue& jprops, in AttachDropShadowLayerEffect() 153 sk_sp<sksg::RenderNode> layer) { in AttachDropShadowLayerEffect() 216 sk_sp<sksg::RenderNode> AttachGaussianBlurLayerEffect(const skjson::ArrayValue& jprops, in AttachGaussianBlurLayerEffect() 219 sk_sp<sksg::RenderNode> layer) { in AttachGaussianBlurLayerEffect() [all …]
|
D | SkottieLayer.cpp | 67 sk_sp<sksg::RenderNode> AttachMask(const skjson::ArrayValue* jmask, in AttachMask() 70 sk_sp<sksg::RenderNode> childNode) { in AttachMask() 155 sk_sp<sksg::RenderNode> maskNode; in AttachMask() 161 std::vector<sk_sp<sksg::RenderNode>> masks; in AttachMask() 176 sk_sp<sksg::RenderNode> AnimationBuilder::attachNestedAnimation(const char* name, in attachNestedAnimation() 178 class SkottieSGAdapter final : public sksg::RenderNode { in attachNestedAnimation() 190 const RenderNode* onNodeAt(const SkPoint&) const override { return nullptr; } in attachNestedAnimation() 242 sk_sp<sksg::RenderNode> AnimationBuilder::attachAssetRef( in attachAssetRef() 244 const std::function<sk_sp<sksg::RenderNode>(const skjson::ObjectValue&, in attachAssetRef() 276 sk_sp<sksg::RenderNode> AnimationBuilder::attachSolidLayer(const skjson::ObjectValue& jlayer, in attachSolidLayer() [all …]
|
/external/skqp/modules/skottie/src/ |
D | SkottiePriv.h | 34 class RenderNode; variable 78 sk_sp<sksg::RenderNode> attachOpacity(const skjson::ObjectValue&, AnimatorScope*, 79 sk_sp<sksg::RenderNode>) const; 94 sk_sp<sksg::RenderNode> attachComposition(const skjson::ObjectValue&, AnimatorScope*) const; 95 sk_sp<sksg::RenderNode> attachLayer(const skjson::ObjectValue*, AttachLayerContext*) const; 96 sk_sp<sksg::RenderNode> attachLayerEffects(const skjson::ArrayValue& jeffects, AnimatorScope*, 97 sk_sp<sksg::RenderNode>) const; 99 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*) const; 100 sk_sp<sksg::RenderNode> attachAssetRef(const skjson::ObjectValue&, AnimatorScope*, 101 const std::function<sk_sp<sksg::RenderNode>(const skjson::ObjectValue&, [all …]
|
D | SkottieLayer.cpp | 67 sk_sp<sksg::RenderNode> AttachMask(const skjson::ArrayValue* jmask, in AttachMask() 70 sk_sp<sksg::RenderNode> childNode) { in AttachMask() 155 sk_sp<sksg::RenderNode> maskNode; in AttachMask() 161 std::vector<sk_sp<sksg::RenderNode>> masks; in AttachMask() 176 sk_sp<sksg::RenderNode> AnimationBuilder::attachNestedAnimation(const char* name, in attachNestedAnimation() 178 class SkottieSGAdapter final : public sksg::RenderNode { in attachNestedAnimation() 240 sk_sp<sksg::RenderNode> AnimationBuilder::attachAssetRef( in attachAssetRef() 242 const std::function<sk_sp<sksg::RenderNode>(const skjson::ObjectValue&, in attachAssetRef() 274 sk_sp<sksg::RenderNode> AnimationBuilder::attachSolidLayer(const skjson::ObjectValue& jlayer, in attachSolidLayer() 322 sk_sp<sksg::RenderNode> AnimationBuilder::attachImageAsset(const skjson::ObjectValue& jimage, in attachImageAsset() [all …]
|
D | SkottieLayerEffect.cpp | 21 sk_sp<sksg::RenderNode> AttachFillLayerEffect(const skjson::ArrayValue* jeffect_props, in AttachFillLayerEffect() 24 sk_sp<sksg::RenderNode> layer) { in AttachFillLayerEffect() 69 sk_sp<sksg::RenderNode> AnimationBuilder::attachLayerEffects(const skjson::ArrayValue& jeffects, in attachLayerEffects() 71 sk_sp<sksg::RenderNode> layer) const { in attachLayerEffects()
|
/external/skia/modules/sksg/include/ |
D | SkSGGroup.h | 20 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;
|
D | SkSGEffectNode.h | 21 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;
|
D | SkSGColorFilter.h | 28 explicit ColorFilter(sk_sp<RenderNode>); 31 const RenderNode* onNodeAt(const SkPoint&) const final; 50 static sk_sp<ModeColorFilter> Make(sk_sp<RenderNode> child, 58 ModeColorFilter(sk_sp<RenderNode>, sk_sp<Color>, SkBlendMode); 75 static sk_sp<GradientColorFilter> Make(sk_sp<RenderNode> child, 77 static sk_sp<GradientColorFilter> Make(sk_sp<RenderNode> child, 86 GradientColorFilter(sk_sp<RenderNode>, std::vector<sk_sp<Color>>);
|
D | SkSGMaskEffect.h | 26 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;
|
D | SkSGScene.h | 22 class RenderNode; variable 64 static std::unique_ptr<Scene> Make(sk_sp<RenderNode> root, AnimatorList&& animators); 71 const RenderNode* nodeAt(const SkPoint&) const; 76 Scene(sk_sp<RenderNode> root, AnimatorList&& animators); 78 const sk_sp<RenderNode> fRoot;
|
D | SkSGRenderEffect.h | 65 static sk_sp<RenderNode> Make(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter); 69 const RenderNode* onNodeAt(const SkPoint&) const override; 74 ImageFilterEffect(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter); 142 static sk_sp<BlendModeEffect> Make(sk_sp<RenderNode> child, 149 const RenderNode* onNodeAt(const SkPoint&) const override; 152 BlendModeEffect(sk_sp<RenderNode>, SkBlendMode);
|
D | SkSGRenderNode.h | 25 class RenderNode : public Node { 35 const RenderNode* nodeAt(const SkPoint& point) const; 38 explicit RenderNode(uint32_t inval_traits = 0); 41 virtual const RenderNode* onNodeAt(const SkPoint& p) const = 0;
|
D | SkSGOpacityEffect.h | 21 static sk_sp<OpacityEffect> Make(sk_sp<RenderNode> child, float opacity = 1) { 28 OpacityEffect(sk_sp<RenderNode>, float); 31 const RenderNode* onNodeAt(const SkPoint&) const override;
|
D | SkSGTransform.h | 84 static sk_sp<TransformEffect> Make(sk_sp<RenderNode> child, sk_sp<Transform> transform) { in Make() 90 static sk_sp<TransformEffect> Make(sk_sp<RenderNode> child, const SkMatrix& m) { in Make() 100 const RenderNode* onNodeAt(const SkPoint&) const override; 105 TransformEffect(sk_sp<RenderNode>, sk_sp<Transform>);
|
D | SkSGDraw.h | 24 class Draw : public RenderNode { 35 const RenderNode* onNodeAt(const SkPoint&) const override; 43 typedef RenderNode INHERITED;
|
/external/skqp/modules/sksg/include/ |
D | SkSGGroup.h | 20 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>>); 45 std::vector<sk_sp<RenderNode>> fChildren; 47 typedef RenderNode INHERITED;
|
D | SkSGMaskEffect.h | 26 static sk_sp<MaskEffect> Make(sk_sp<RenderNode> child, sk_sp<RenderNode> mask, 36 MaskEffect(sk_sp<RenderNode>, sk_sp<RenderNode> mask, Mode); 43 const sk_sp<RenderNode> fMaskNode;
|
D | SkSGEffectNode.h | 21 class EffectNode : public RenderNode { 23 explicit EffectNode(sk_sp<RenderNode>); 31 sk_sp<RenderNode> fChild; 33 typedef RenderNode INHERITED;
|
D | SkSGScene.h | 21 class RenderNode; variable 63 static std::unique_ptr<Scene> Make(sk_sp<RenderNode> root, AnimatorList&& animators); 74 Scene(sk_sp<RenderNode> root, AnimatorList&& animators); 76 const sk_sp<RenderNode> fRoot;
|