/external/skia/modules/skottie/src/effects/ |
D | Effects.h | 28 sk_sp<sksg::RenderNode> attachEffects(const skjson::ArrayValue&, 29 sk_sp<sksg::RenderNode>) const; 34 using EffectBuilderT = sk_sp<sksg::RenderNode>(EffectBuilder::*)(const skjson::ArrayValue&, 35 sk_sp<sksg::RenderNode>) const; 37 sk_sp<sksg::RenderNode> attachDropShadowEffect (const skjson::ArrayValue&, 38 sk_sp<sksg::RenderNode>) const; 39 sk_sp<sksg::RenderNode> attachFillEffect (const skjson::ArrayValue&, 40 sk_sp<sksg::RenderNode>) const; 41 sk_sp<sksg::RenderNode> attachGaussianBlurEffect (const skjson::ArrayValue&, 42 sk_sp<sksg::RenderNode>) const; [all …]
|
D | GaussianBlurEffect.cpp | 23 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() 77 const sk_sp<sksg::RenderNode> fImageFilterEffect; 86 sk_sp<sksg::RenderNode> EffectBuilder::attachGaussianBlurEffect( in attachGaussianBlurEffect() 88 sk_sp<sksg::RenderNode> layer) const { in attachGaussianBlurEffect()
|
D | DropShadowEffect.cpp | 23 sk_sp<sksg::RenderNode> layer, in Make() 28 const sk_sp<sksg::RenderNode>& node() const { return fImageFilterEffect; } in node() 32 sk_sp<sksg::RenderNode> layer, in DropShadowAdapter() 74 const sk_sp<sksg::RenderNode> fImageFilterEffect; 86 sk_sp<sksg::RenderNode> EffectBuilder::attachDropShadowEffect(const skjson::ArrayValue& jprops, in attachDropShadowEffect() 87 sk_sp<sksg::RenderNode> layer) const { in attachDropShadowEffect()
|
D | FillEffect.cpp | 24 sk_sp<sksg::RenderNode> layer, in Make() 33 sk_sp<sksg::RenderNode> layer, in FillAdapter() 72 sk_sp<sksg::RenderNode> EffectBuilder::attachFillEffect(const skjson::ArrayValue& jprops, in attachFillEffect() 73 sk_sp<sksg::RenderNode> layer) const { in attachFillEffect()
|
D | TintEffect.cpp | 23 sk_sp<sksg::RenderNode> layer, in Make() 32 sk_sp<sksg::RenderNode> layer, in TintAdapter() 71 sk_sp<sksg::RenderNode> EffectBuilder::attachTintEffect(const skjson::ArrayValue& jprops, in attachTintEffect() 72 sk_sp<sksg::RenderNode> layer) const { in attachTintEffect()
|
/external/skia/modules/sksg/src/ |
D | SkSGRenderNode.cpp | 25 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() 80 bool RenderNode::RenderContext::requiresIsolation() const { in requiresIsolation() 88 void RenderNode::RenderContext::modulatePaint(const SkMatrix& ctm, SkPaint* paint) const { in modulatePaint() 100 RenderNode::ScopedRenderContext::ScopedRenderContext(SkCanvas* canvas, const RenderContext* ctx) in ScopedRenderContext() 105 RenderNode::ScopedRenderContext::~ScopedRenderContext() { in ~ScopedRenderContext() 111 RenderNode::ScopedRenderContext&& [all …]
|
D | SkSGRenderEffect.cpp | 41 sk_sp<MaskFilterEffect> MaskFilterEffect::Make(sk_sp<RenderNode> child, sk_sp<MaskFilter> mf) { in Make() 46 MaskFilterEffect::MaskFilterEffect(sk_sp<RenderNode> child, sk_sp<MaskFilter> mf) in MaskFilterEffect() 78 sk_sp<ShaderEffect> ShaderEffect::Make(sk_sp<RenderNode> child, sk_sp<Shader> shader) { in Make() 83 ShaderEffect::ShaderEffect(sk_sp<RenderNode> child, sk_sp<Shader> shader) in ShaderEffect() 134 sk_sp<RenderNode> ImageFilterEffect::Make(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) { in Make() 135 return filter ? sk_sp<RenderNode>(new ImageFilterEffect(std::move(child), std::move(filter))) in Make() 139 ImageFilterEffect::ImageFilterEffect(sk_sp<RenderNode> child, sk_sp<ImageFilter> filter) in ImageFilterEffect() 163 const RenderNode* ImageFilterEffect::onNodeAt(const SkPoint& p) const { in onNodeAt() 243 sk_sp<BlendModeEffect> BlendModeEffect::Make(sk_sp<RenderNode> child, SkBlendMode mode) { in Make() 248 BlendModeEffect::BlendModeEffect(sk_sp<RenderNode> child, SkBlendMode mode) in BlendModeEffect() [all …]
|
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<ExternalColorFilter> ExternalColorFilter::Make(sk_sp<RenderNode> child) { in Make() 46 ExternalColorFilter::ExternalColorFilter(sk_sp<RenderNode> child) : INHERITED(std::move(child)) {} in ExternalColorFilter() 56 sk_sp<ModeColorFilter> ModeColorFilter::Make(sk_sp<RenderNode> child, sk_sp<Color> color, in Make() 63 ModeColorFilter::ModeColorFilter(sk_sp<RenderNode> child, sk_sp<Color> color, SkBlendMode mode) in ModeColorFilter() 79 sk_sp<GradientColorFilter> GradientColorFilter::Make(sk_sp<RenderNode> child, in Make() 84 sk_sp<GradientColorFilter> GradientColorFilter::Make(sk_sp<RenderNode> child, in Make() 91 GradientColorFilter::GradientColorFilter(sk_sp<RenderNode> child, std::vector<sk_sp<Color>> colors) in GradientColorFilter()
|
/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/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; 50 typedef RenderNode INHERITED;
|
D | SkSGColorFilter.h | 28 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>>);
|
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 | SkSGRenderNode.h | 27 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; 131 class CustomRenderNode : public RenderNode { 133 explicit CustomRenderNode(std::vector<sk_sp<RenderNode>>&& children); 136 const std::vector<sk_sp<RenderNode>>& children() const { return fChildren; } in children() 141 std::vector<sk_sp<RenderNode>> fChildren; 143 using INHERITED = RenderNode;
|
D | SkSGMaskEffect.h | 28 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;
|
D | SkSGRenderEffect.h | 67 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);
|
D | SkSGScene.h | 23 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;
|
/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/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;
|
/external/skia/modules/skottie/src/ |
D | SkottiePriv.h | 34 class RenderNode; variable 76 sk_sp<sksg::RenderNode> attachOpacity(const skjson::ObjectValue&, 77 sk_sp<sksg::RenderNode>) const; 118 template <typename T, typename NodeType = sk_sp<sksg::RenderNode>, typename... Args> 175 sk_sp<sksg::RenderNode> attachBlendMode(const skjson::ObjectValue&, 176 sk_sp<sksg::RenderNode>) const; 178 sk_sp<sksg::RenderNode> attachShape(const skjson::ArrayValue*, AttachShapeContext*) const; 179 sk_sp<sksg::RenderNode> attachAssetRef(const skjson::ObjectValue&, 180 const std::function<sk_sp<sksg::RenderNode>(const skjson::ObjectValue&)>&) const; 182 sk_sp<sksg::RenderNode> attachImageAsset(const skjson::ObjectValue&, LayerInfo*) const; [all …]
|
D | Composition.cpp | 22 sk_sp<sksg::RenderNode> AnimationBuilder::attachNestedAnimation(const char* name) const { in attachNestedAnimation() 23 class SkottieSGAdapter final : public sksg::RenderNode { in attachNestedAnimation() 35 const RenderNode* onNodeAt(const SkPoint&) const override { return nullptr; } in attachNestedAnimation() 89 sk_sp<sksg::RenderNode> AnimationBuilder::attachAssetRef( in attachAssetRef() 91 const std::function<sk_sp<sksg::RenderNode>(const skjson::ObjectValue&)>& func) const { in attachAssetRef() 187 sk_sp<sksg::RenderNode> CompositionBuilder::build(const AnimationBuilder& abuilder) { in build() 194 std::vector<sk_sp<sksg::RenderNode>> layers; in build()
|