/src/skia/modules/sksg/include/SkSGNode.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright 2017 Google Inc. |
3 | | * |
4 | | * Use of this source code is governed by a BSD-style license that can be |
5 | | * found in the LICENSE file. |
6 | | */ |
7 | | |
8 | | #ifndef SkSGNode_DEFINED |
9 | | #define SkSGNode_DEFINED |
10 | | |
11 | | #include "include/core/SkRect.h" |
12 | | #include "include/core/SkRefCnt.h" |
13 | | |
14 | | #include <vector> |
15 | | |
16 | | class SkCanvas; |
17 | | class SkMatrix; |
18 | | |
19 | | namespace sksg { |
20 | | |
21 | | class InvalidationController; |
22 | | |
23 | | /** |
24 | | * Base class for all scene graph nodes. |
25 | | * |
26 | | * Handles ingress edge management for the DAG (i.e. node -> "parent" node mapping), |
27 | | * and invalidation. |
28 | | * |
29 | | * Note: egress edges are only implemented/supported in container subclasses |
30 | | * (e.g. Group, Effect, Draw). |
31 | | */ |
32 | | class Node : public SkRefCnt { |
33 | | public: |
34 | | // Traverse the DAG and revalidate any dependant/invalidated nodes. |
35 | | // Returns the bounding box for the DAG fragment. |
36 | | const SkRect& revalidate(InvalidationController*, const SkMatrix&); |
37 | | |
38 | | protected: |
39 | | enum InvalTraits { |
40 | | // Nodes with this trait never generate direct damage -- instead, |
41 | | // the damage bubbles up to ancestors. |
42 | | kBubbleDamage_Trait = 1 << 0, |
43 | | |
44 | | // Nodes with this trait obscure the descendants' damage and always override it. |
45 | | kOverrideDamage_Trait = 1 << 1, |
46 | | }; |
47 | | |
48 | | explicit Node(uint32_t invalTraits); |
49 | | ~Node() override; |
50 | | |
51 | 97.5k | const SkRect& bounds() const { |
52 | 97.5k | SkASSERT(!this->hasInval()); |
53 | 97.5k | return fBounds; |
54 | 97.5k | } |
55 | | |
56 | | // Tag this node for invalidation and optional damage. |
57 | | void invalidate(bool damage = true); |
58 | 3.66M | bool hasInval() const { return fFlags & kInvalidated_Flag; } |
59 | | |
60 | | // Dispatched on revalidation. Subclasses are expected to recompute/cache their properties |
61 | | // and return their bounding box in local coordinates. |
62 | | virtual SkRect onRevalidate(InvalidationController*, const SkMatrix& ctm) = 0; |
63 | | |
64 | | // Register/unregister |this| to receive invalidation events from a descendant. |
65 | | void observeInval(const sk_sp<Node>&); |
66 | | void unobserveInval(const sk_sp<Node>&); |
67 | | |
68 | | private: |
69 | | enum Flags { |
70 | | kInvalidated_Flag = 1 << 0, // the node or its descendants require revalidation |
71 | | kDamage_Flag = 1 << 1, // the node contributes damage during revalidation |
72 | | kObserverArray_Flag = 1 << 2, // the node has more than one inval observer |
73 | | kInTraversal_Flag = 1 << 3, // the node is part of a traversal (cycle detection) |
74 | | }; |
75 | | |
76 | | template <typename Func> |
77 | | void forEachInvalObserver(Func&&) const; |
78 | | |
79 | | class ScopedFlag; |
80 | | |
81 | | union { |
82 | | Node* fInvalObserver; |
83 | | std::vector<Node*>* fInvalObserverArray; |
84 | | }; |
85 | | SkRect fBounds; |
86 | | const uint32_t fInvalTraits : 2; |
87 | | uint32_t fFlags : 4; // Internal flags. |
88 | | uint32_t fNodeFlags : 8; // Accessible from select subclasses. |
89 | | // Free bits : 18; |
90 | | |
91 | | friend class NodePriv; |
92 | | friend class RenderNode; // node flags access |
93 | | |
94 | | using INHERITED = SkRefCnt; |
95 | | }; |
96 | | |
97 | | // Helper for defining attribute getters/setters in subclasses. |
98 | | #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \ |
99 | 96.5k | const attr_type& get##attr_name() const { return attr_container; } \ sksg::OpacityEffect::getOpacity() const Line | Count | Source | 99 | 67.8k | const attr_type& get##attr_name() const { return attr_container; } \ |
Unexecuted instantiation: sksg::PaintNode::getAntiAlias() const Unexecuted instantiation: sksg::PaintNode::getOpacity() const Unexecuted instantiation: sksg::PaintNode::getBlendMode() const Unexecuted instantiation: sksg::PaintNode::getStrokeWidth() const Unexecuted instantiation: sksg::PaintNode::getStrokeMiter() const Unexecuted instantiation: sksg::PaintNode::getStyle() const Unexecuted instantiation: sksg::PaintNode::getStrokeJoin() const Unexecuted instantiation: sksg::PaintNode::getStrokeCap() const sksg::Color::getColor() const Line | Count | Source | 99 | 21.6k | const attr_type& get##attr_name() const { return attr_container; } \ |
Unexecuted instantiation: sksg::Path::getPath() const Unexecuted instantiation: sksg::MaskShaderEffect::getShader() const Unexecuted instantiation: sksg::ExternalImageFilter::getImageFilter() const Unexecuted instantiation: sksg::DropShadowImageFilter::getOffset() const Unexecuted instantiation: sksg::DropShadowImageFilter::getSigma() const Unexecuted instantiation: sksg::DropShadowImageFilter::getColor() const Unexecuted instantiation: sksg::DropShadowImageFilter::getMode() const Unexecuted instantiation: sksg::BlurImageFilter::getSigma() const Unexecuted instantiation: sksg::BlurImageFilter::getTileMode() const Unexecuted instantiation: sksg::BlendModeEffect::getMode() const Unexecuted instantiation: sksg::LayerEffect::getMode() const Unexecuted instantiation: sksg::Text::getTypeface() const Unexecuted instantiation: sksg::Text::getText() const Unexecuted instantiation: sksg::Text::getPosition() const Unexecuted instantiation: sksg::Text::getSize() const Unexecuted instantiation: sksg::Text::getScaleX() const Unexecuted instantiation: sksg::Text::getSkewX() const Unexecuted instantiation: sksg::Text::getAlign() const Unexecuted instantiation: sksg::Text::getEdging() const Unexecuted instantiation: sksg::Text::getHinting() const Unexecuted instantiation: sksg::TextBlob::getBlob() const Unexecuted instantiation: sksg::TextBlob::getPosition() const Unexecuted instantiation: sksg::Matrix<SkM44>::getMatrix() const Unexecuted instantiation: sksg::Rect::getL() const Unexecuted instantiation: sksg::Rect::getT() const Unexecuted instantiation: sksg::Rect::getR() const Unexecuted instantiation: sksg::Rect::getB() const Unexecuted instantiation: sksg::RRect::getRRect() const Unexecuted instantiation: skottie::internal::MotionBlurEffect::getT() const Unexecuted instantiation: sksg::ExternalColorFilter::getColorFilter() const Unexecuted instantiation: sksg::GradientColorFilter::getWeight() const Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::getMatrix() const Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::getSubMatrix() const Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::getNoiseFilter() const Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::getNoiseFractal() const Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::getOctaves() const Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::getPersistence() const Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::getEvolution() const Unexecuted instantiation: sksg::Gradient::getColorStops() const sksg::Gradient::getTileMode() const Line | Count | Source | 99 | 7.01k | const attr_type& get##attr_name() const { return attr_container; } \ |
Unexecuted instantiation: sksg::LinearGradient::getStartPoint() const Unexecuted instantiation: sksg::LinearGradient::getEndPoint() const Unexecuted instantiation: sksg::RadialGradient::getStartCenter() const Unexecuted instantiation: sksg::RadialGradient::getEndCenter() const Unexecuted instantiation: sksg::RadialGradient::getStartRadius() const Unexecuted instantiation: sksg::RadialGradient::getEndRadius() const Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::getTileCenter() const Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::getTileWidth() const Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::getTileHeight() const Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::getOutputWidth() const Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::getOutputHeight() const Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::getPhase() const Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::getMirrorEdges() const Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::getHorizontalPhase() const Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::getCompletion() const Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::getStartAngle() const Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::getWipeCenter() const Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::getWipe() const Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::getFeather() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getCenter() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getRadius() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getRotation() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getSide() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getLightVec() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getLightColor() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getAmbientLight() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getDiffuseLight() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getSpecularLight() const Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::getSpecularExp() const Unexecuted instantiation: sksg::Image::getImage() const Unexecuted instantiation: sksg::Image::getSamplingOptions() const Unexecuted instantiation: sksg::Matrix<SkMatrix>::getMatrix() const Unexecuted instantiation: sksg::Image::getAntiAlias() const Unexecuted instantiation: PrecompLayer.cpp:skottie::internal::AnimationBuilder::attachExternalPrecompLayer(skjson::ObjectValue const&, skottie::internal::AnimationBuilder::LayerInfo const&) const::SGAdapter::getT() const Unexecuted instantiation: sksg::TrimEffect::getStart() const Unexecuted instantiation: sksg::TrimEffect::getStop() const Unexecuted instantiation: sksg::TrimEffect::getMode() const Unexecuted instantiation: sksg::DashEffect::getIntervals() const Unexecuted instantiation: sksg::DashEffect::getPhase() const Unexecuted instantiation: sksg::RoundEffect::getRadius() const Unexecuted instantiation: sksg::OffsetEffect::getOffset() const Unexecuted instantiation: sksg::OffsetEffect::getMiterLimit() const Unexecuted instantiation: sksg::OffsetEffect::getJoin() const Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::getScale() const Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::getChildTileMode() const Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::getPos() const Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::getXSelector() const Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::getYSelector() const Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::getExpandBounds() const Unexecuted instantiation: PuckerBloat.cpp:skottie::internal::(anonymous namespace)::PuckerBloatEffect::getAmount() const Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::getCount() const Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::getOffset() const Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::getAnchorPoint() const Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::getPosition() const Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::getScale() const Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::getRotation() const Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::getStartOpacity() const Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::getEndOpacity() const |
100 | 3.17M | void set##attr_name(const attr_type& v) { \ |
101 | 3.17M | if (attr_container == v) return; \ |
102 | 521k | attr_container = v; \ |
103 | 521k | this->invalidate(); \ |
104 | 521k | } \ Unexecuted instantiation: sksg::OpacityEffect::setOpacity(float const&) Unexecuted instantiation: sksg::PaintNode::setAntiAlias(bool const&) Unexecuted instantiation: sksg::PaintNode::setOpacity(float const&) sksg::PaintNode::setBlendMode(SkBlendMode const&) Line | Count | Source | 100 | 8.59k | void set##attr_name(const attr_type& v) { \ | 101 | 8.59k | if (attr_container == v) return; \ | 102 | 8.46k | attr_container = v; \ | 103 | 8.46k | this->invalidate(); \ | 104 | 8.46k | } \ |
sksg::PaintNode::setStrokeWidth(float const&) Line | Count | Source | 100 | 128k | void set##attr_name(const attr_type& v) { \ | 101 | 128k | if (attr_container == v) return; \ | 102 | 1.61k | attr_container = v; \ | 103 | 1.61k | this->invalidate(); \ | 104 | 1.61k | } \ |
Unexecuted instantiation: sksg::PaintNode::setStrokeMiter(float const&) Unexecuted instantiation: sksg::PaintNode::setStyle(SkPaint::Style const&) sksg::PaintNode::setStrokeJoin(SkPaint::Join const&) Line | Count | Source | 100 | 6.03k | void set##attr_name(const attr_type& v) { \ | 101 | 6.03k | if (attr_container == v) return; \ | 102 | 393 | attr_container = v; \ | 103 | 393 | this->invalidate(); \ | 104 | 393 | } \ |
sksg::PaintNode::setStrokeCap(SkPaint::Cap const&) Line | Count | Source | 100 | 6.03k | void set##attr_name(const attr_type& v) { \ | 101 | 6.03k | if (attr_container == v) return; \ | 102 | 423 | attr_container = v; \ | 103 | 423 | this->invalidate(); \ | 104 | 423 | } \ |
Unexecuted instantiation: sksg::Color::setColor(unsigned int const&) sksg::Path::setPath(SkPath const&) Line | Count | Source | 100 | 79.9k | void set##attr_name(const attr_type& v) { \ | 101 | 79.9k | if (attr_container == v) return; \ | 102 | 46.4k | attr_container = v; \ | 103 | 46.4k | this->invalidate(); \ | 104 | 46.4k | } \ |
sksg::MaskShaderEffect::setShader(sk_sp<SkShader> const&) Line | Count | Source | 100 | 1.39k | void set##attr_name(const attr_type& v) { \ | 101 | 1.39k | if (attr_container == v) return; \ | 102 | 1.19k | attr_container = v; \ | 103 | 1.19k | this->invalidate(); \ | 104 | 1.19k | } \ |
Unexecuted instantiation: sksg::ExternalImageFilter::setImageFilter(sk_sp<SkImageFilter> const&) Unexecuted instantiation: sksg::DropShadowImageFilter::setOffset(SkPoint const&) Unexecuted instantiation: sksg::DropShadowImageFilter::setSigma(SkPoint const&) Unexecuted instantiation: sksg::DropShadowImageFilter::setColor(unsigned int const&) Unexecuted instantiation: sksg::DropShadowImageFilter::setMode(sksg::DropShadowImageFilter::Mode const&) Unexecuted instantiation: sksg::BlurImageFilter::setSigma(SkPoint const&) sksg::BlurImageFilter::setTileMode(SkTileMode const&) Line | Count | Source | 100 | 1.71k | void set##attr_name(const attr_type& v) { \ | 101 | 1.71k | if (attr_container == v) return; \ | 102 | 796 | attr_container = v; \ | 103 | 796 | this->invalidate(); \ | 104 | 796 | } \ |
Unexecuted instantiation: sksg::BlendModeEffect::setMode(SkBlendMode const&) Unexecuted instantiation: sksg::LayerEffect::setMode(SkBlendMode const&) Unexecuted instantiation: sksg::Text::setTypeface(sk_sp<SkTypeface> const&) Unexecuted instantiation: sksg::Text::setText(SkString const&) Unexecuted instantiation: sksg::Text::setPosition(SkPoint const&) Unexecuted instantiation: sksg::Text::setSize(float const&) Unexecuted instantiation: sksg::Text::setScaleX(float const&) Unexecuted instantiation: sksg::Text::setSkewX(float const&) Unexecuted instantiation: sksg::Text::setAlign(SkTextUtils::Align const&) Unexecuted instantiation: sksg::Text::setEdging(SkFont::Edging const&) Unexecuted instantiation: sksg::Text::setHinting(SkFontHinting const&) Unexecuted instantiation: sksg::TextBlob::setBlob(sk_sp<SkTextBlob> const&) Unexecuted instantiation: sksg::TextBlob::setPosition(SkPoint const&) Unexecuted instantiation: sksg::Matrix<SkM44>::setMatrix(SkM44 const&) Unexecuted instantiation: sksg::Rect::setL(float const&) Unexecuted instantiation: sksg::Rect::setT(float const&) Unexecuted instantiation: sksg::Rect::setR(float const&) Unexecuted instantiation: sksg::Rect::setB(float const&) Unexecuted instantiation: sksg::RRect::setRRect(SkRRect const&) Unexecuted instantiation: skottie::internal::MotionBlurEffect::setT(float const&) Unexecuted instantiation: sksg::ExternalColorFilter::setColorFilter(sk_sp<SkColorFilter> const&) Unexecuted instantiation: sksg::GradientColorFilter::setWeight(float const&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setOctaves(float const&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setPersistence(float const&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setMatrix(SkMatrix const&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setSubMatrix(SkMatrix const&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setNoiseFilter(skottie::internal::(anonymous namespace)::NoiseFilter const&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setNoiseFractal(skottie::internal::(anonymous namespace)::NoiseFractal const&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setEvolution(float const&) sksg::LinearGradient::setStartPoint(SkPoint const&) Line | Count | Source | 100 | 8.50k | void set##attr_name(const attr_type& v) { \ | 101 | 8.50k | if (attr_container == v) return; \ | 102 | 2.30k | attr_container = v; \ | 103 | 2.30k | this->invalidate(); \ | 104 | 2.30k | } \ |
sksg::LinearGradient::setEndPoint(SkPoint const&) Line | Count | Source | 100 | 8.50k | void set##attr_name(const attr_type& v) { \ | 101 | 8.50k | if (attr_container == v) return; \ | 102 | 4.83k | attr_container = v; \ | 103 | 4.83k | this->invalidate(); \ | 104 | 4.83k | } \ |
sksg::RadialGradient::setStartCenter(SkPoint const&) Line | Count | Source | 100 | 3.74k | void set##attr_name(const attr_type& v) { \ | 101 | 3.74k | if (attr_container == v) return; \ | 102 | 1.49k | attr_container = v; \ | 103 | 1.49k | this->invalidate(); \ | 104 | 1.49k | } \ |
sksg::RadialGradient::setEndCenter(SkPoint const&) Line | Count | Source | 100 | 3.74k | void set##attr_name(const attr_type& v) { \ | 101 | 3.74k | if (attr_container == v) return; \ | 102 | 1.49k | attr_container = v; \ | 103 | 1.49k | this->invalidate(); \ | 104 | 1.49k | } \ |
Unexecuted instantiation: sksg::Gradient::setColorStops(std::__1::vector<sksg::Gradient::ColorStop, std::__1::allocator<sksg::Gradient::ColorStop> > const&) Unexecuted instantiation: sksg::Gradient::setTileMode(SkTileMode const&) Unexecuted instantiation: sksg::RadialGradient::setStartRadius(float const&) Unexecuted instantiation: sksg::RadialGradient::setEndRadius(float const&) MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setTileWidth(float const&) Line | Count | Source | 100 | 14.5k | void set##attr_name(const attr_type& v) { \ | 101 | 14.5k | if (attr_container == v) return; \ | 102 | 11.0k | attr_container = v; \ | 103 | 11.0k | this->invalidate(); \ | 104 | 11.0k | } \ |
MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setTileHeight(float const&) Line | Count | Source | 100 | 14.5k | void set##attr_name(const attr_type& v) { \ | 101 | 14.5k | if (attr_container == v) return; \ | 102 | 1.35k | attr_container = v; \ | 103 | 1.35k | this->invalidate(); \ | 104 | 1.35k | } \ |
MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setOutputWidth(float const&) Line | Count | Source | 100 | 14.5k | void set##attr_name(const attr_type& v) { \ | 101 | 14.5k | if (attr_container == v) return; \ | 102 | 794 | attr_container = v; \ | 103 | 794 | this->invalidate(); \ | 104 | 794 | } \ |
MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setOutputHeight(float const&) Line | Count | Source | 100 | 14.5k | void set##attr_name(const attr_type& v) { \ | 101 | 14.5k | if (attr_container == v) return; \ | 102 | 92 | attr_container = v; \ | 103 | 92 | this->invalidate(); \ | 104 | 92 | } \ |
MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setPhase(float const&) Line | Count | Source | 100 | 14.5k | void set##attr_name(const attr_type& v) { \ | 101 | 14.5k | if (attr_container == v) return; \ | 102 | 2.84k | attr_container = v; \ | 103 | 2.84k | this->invalidate(); \ | 104 | 2.84k | } \ |
Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setTileCenter(SkPoint const&) Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setMirrorEdges(bool const&) Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setHorizontalPhase(bool const&) RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setCompletion(float const&) Line | Count | Source | 100 | 2.66k | void set##attr_name(const attr_type& v) { \ | 101 | 2.66k | if (attr_container == v) return; \ | 102 | 2.37k | attr_container = v; \ | 103 | 2.37k | this->invalidate(); \ | 104 | 2.37k | } \ |
RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setStartAngle(float const&) Line | Count | Source | 100 | 2.66k | void set##attr_name(const attr_type& v) { \ | 101 | 2.66k | if (attr_container == v) return; \ | 102 | 119 | attr_container = v; \ | 103 | 119 | this->invalidate(); \ | 104 | 119 | } \ |
RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setWipe(float const&) Line | Count | Source | 100 | 2.66k | void set##attr_name(const attr_type& v) { \ | 101 | 2.66k | if (attr_container == v) return; \ | 102 | 301 | attr_container = v; \ | 103 | 301 | this->invalidate(); \ | 104 | 301 | } \ |
RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setFeather(float const&) Line | Count | Source | 100 | 2.66k | void set##attr_name(const attr_type& v) { \ | 101 | 2.66k | if (attr_container == v) return; \ | 102 | 470 | attr_container = v; \ | 103 | 470 | this->invalidate(); \ | 104 | 470 | } \ |
Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setWipeCenter(SkPoint const&) SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setRadius(float const&) Line | Count | Source | 100 | 3.36k | void set##attr_name(const attr_type& v) { \ | 101 | 3.36k | if (attr_container == v) return; \ | 102 | 1.84k | attr_container = v; \ | 103 | 1.84k | this->invalidate(); \ | 104 | 1.84k | } \ |
SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setAmbientLight(float const&) Line | Count | Source | 100 | 3.36k | void set##attr_name(const attr_type& v) { \ | 101 | 3.36k | if (attr_container == v) return; \ | 102 | 20 | attr_container = v; \ | 103 | 20 | this->invalidate(); \ | 104 | 20 | } \ |
Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setCenter(SkPoint const&) Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setRotation(SkM44 const&) Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setSide(skottie::internal::(anonymous namespace)::SphereNode::RenderSide const&) Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setLightVec(SkV3 const&) Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setLightColor(SkV3 const&) Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setDiffuseLight(float const&) Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setSpecularLight(float const&) Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setSpecularExp(float const&) Unexecuted instantiation: sksg::Image::setSamplingOptions(SkSamplingOptions const&) Unexecuted instantiation: sksg::Matrix<SkMatrix>::setMatrix(SkMatrix const&) Unexecuted instantiation: sksg::Image::setImage(sk_sp<SkImage> const&) Unexecuted instantiation: sksg::Image::setAntiAlias(bool const&) Unexecuted instantiation: PrecompLayer.cpp:skottie::internal::AnimationBuilder::attachExternalPrecompLayer(skjson::ObjectValue const&, skottie::internal::AnimationBuilder::LayerInfo const&) const::SGAdapter::setT(float const&) sksg::TrimEffect::setStart(float const&) Line | Count | Source | 100 | 806k | void set##attr_name(const attr_type& v) { \ | 101 | 806k | if (attr_container == v) return; \ | 102 | 2.52k | attr_container = v; \ | 103 | 2.52k | this->invalidate(); \ | 104 | 2.52k | } \ |
sksg::TrimEffect::setStop(float const&) Line | Count | Source | 100 | 806k | void set##attr_name(const attr_type& v) { \ | 101 | 806k | if (attr_container == v) return; \ | 102 | 50.5k | attr_container = v; \ | 103 | 50.5k | this->invalidate(); \ | 104 | 50.5k | } \ |
sksg::TrimEffect::setMode(SkTrimPathEffect::Mode const&) Line | Count | Source | 100 | 806k | void set##attr_name(const attr_type& v) { \ | 101 | 806k | if (attr_container == v) return; \ | 102 | 48.2k | attr_container = v; \ | 103 | 48.2k | this->invalidate(); \ | 104 | 48.2k | } \ |
sksg::DashEffect::setIntervals(std::__1::vector<float, std::__1::allocator<float> > const&) Line | Count | Source | 100 | 1.11k | void set##attr_name(const attr_type& v) { \ | 101 | 1.11k | if (attr_container == v) return; \ | 102 | 1.11k | attr_container = v; \ | 103 | 1.11k | this->invalidate(); \ | 104 | 1.11k | } \ |
sksg::DashEffect::setPhase(float const&) Line | Count | Source | 100 | 1.11k | void set##attr_name(const attr_type& v) { \ | 101 | 1.11k | if (attr_container == v) return; \ | 102 | 0 | attr_container = v; \ | 103 | 0 | this->invalidate(); \ | 104 | 0 | } \ |
sksg::RoundEffect::setRadius(float const&) Line | Count | Source | 100 | 264k | void set##attr_name(const attr_type& v) { \ | 101 | 264k | if (attr_container == v) return; \ | 102 | 238k | attr_container = v; \ | 103 | 238k | this->invalidate(); \ | 104 | 238k | } \ |
sksg::OffsetEffect::setOffset(float const&) Line | Count | Source | 100 | 48.0k | void set##attr_name(const attr_type& v) { \ | 101 | 48.0k | if (attr_container == v) return; \ | 102 | 41.9k | attr_container = v; \ | 103 | 41.9k | this->invalidate(); \ | 104 | 41.9k | } \ |
sksg::OffsetEffect::setMiterLimit(float const&) Line | Count | Source | 100 | 48.0k | void set##attr_name(const attr_type& v) { \ | 101 | 48.0k | if (attr_container == v) return; \ | 102 | 48.0k | attr_container = v; \ | 103 | 48.0k | this->invalidate(); \ | 104 | 48.0k | } \ |
sksg::OffsetEffect::setJoin(SkPaint::Join const&) Line | Count | Source | 100 | 48.0k | void set##attr_name(const attr_type& v) { \ | 101 | 48.0k | if (attr_container == v) return; \ | 102 | 0 | attr_container = v; \ | 103 | 0 | this->invalidate(); \ | 104 | 0 | } \ |
Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setScale(SkV2 const&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setChildTileMode(SkTileMode const&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setPos(skottie::internal::(anonymous namespace)::DisplacementNode::Pos const&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setXSelector(skottie::internal::(anonymous namespace)::DisplacementNode::Selector const&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setYSelector(skottie::internal::(anonymous namespace)::DisplacementNode::Selector const&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setExpandBounds(bool const&) Unexecuted instantiation: PuckerBloat.cpp:skottie::internal::(anonymous namespace)::PuckerBloatEffect::setAmount(float const&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setOffset(float const&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setAnchorPoint(SkV2 const&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setPosition(SkV2 const&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setRotation(float const&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setStartOpacity(float const&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setEndOpacity(float const&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setCount(unsigned long const&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setScale(SkV2 const&) |
105 | 993k | void set##attr_name(attr_type&& v) { \ |
106 | 993k | if (attr_container == v) return; \ |
107 | 453k | attr_container = std::move(v); \ |
108 | 453k | this->invalidate(); \ |
109 | 453k | } sksg::OpacityEffect::setOpacity(float&&) Line | Count | Source | 105 | 71.4k | void set##attr_name(attr_type&& v) { \ | 106 | 71.4k | if (attr_container == v) return; \ | 107 | 15.6k | attr_container = std::move(v); \ | 108 | 15.6k | this->invalidate(); \ | 109 | 15.6k | } |
sksg::PaintNode::setAntiAlias(bool&&) Line | Count | Source | 105 | 233k | void set##attr_name(attr_type&& v) { \ | 106 | 233k | if (attr_container == v) return; \ | 107 | 233k | attr_container = std::move(v); \ | 108 | 233k | this->invalidate(); \ | 109 | 233k | } |
sksg::PaintNode::setOpacity(float&&) Line | Count | Source | 105 | 137k | void set##attr_name(attr_type&& v) { \ | 106 | 137k | if (attr_container == v) return; \ | 107 | 2.90k | attr_container = std::move(v); \ | 108 | 2.90k | this->invalidate(); \ | 109 | 2.90k | } |
Unexecuted instantiation: sksg::PaintNode::setBlendMode(SkBlendMode&&) Unexecuted instantiation: sksg::PaintNode::setStrokeWidth(float&&) sksg::PaintNode::setStrokeMiter(float&&) Line | Count | Source | 105 | 6.03k | void set##attr_name(attr_type&& v) { \ | 106 | 6.03k | if (attr_container == v) return; \ | 107 | 171 | attr_container = std::move(v); \ | 108 | 171 | this->invalidate(); \ | 109 | 171 | } |
sksg::PaintNode::setStyle(SkPaint::Style&&) Line | Count | Source | 105 | 6.03k | void set##attr_name(attr_type&& v) { \ | 106 | 6.03k | if (attr_container == v) return; \ | 107 | 6.03k | attr_container = std::move(v); \ | 108 | 6.03k | this->invalidate(); \ | 109 | 6.03k | } |
Unexecuted instantiation: sksg::PaintNode::setStrokeJoin(SkPaint::Join&&) Unexecuted instantiation: sksg::PaintNode::setStrokeCap(SkPaint::Cap&&) sksg::Color::setColor(unsigned int&&) Line | Count | Source | 105 | 140k | void set##attr_name(attr_type&& v) { \ | 106 | 140k | if (attr_container == v) return; \ | 107 | 25.1k | attr_container = std::move(v); \ | 108 | 25.1k | this->invalidate(); \ | 109 | 25.1k | } |
sksg::Path::setPath(SkPath&&) Line | Count | Source | 105 | 544 | void set##attr_name(attr_type&& v) { \ | 106 | 544 | if (attr_container == v) return; \ | 107 | 544 | attr_container = std::move(v); \ | 108 | 544 | this->invalidate(); \ | 109 | 544 | } |
Unexecuted instantiation: sksg::MaskShaderEffect::setShader(sk_sp<SkShader>&&) sksg::ExternalImageFilter::setImageFilter(sk_sp<SkImageFilter>&&) Line | Count | Source | 105 | 5.14k | void set##attr_name(attr_type&& v) { \ | 106 | 5.14k | if (attr_container == v) return; \ | 107 | 5.14k | attr_container = std::move(v); \ | 108 | 5.14k | this->invalidate(); \ | 109 | 5.14k | } |
sksg::DropShadowImageFilter::setOffset(SkPoint&&) Line | Count | Source | 105 | 11.4k | void set##attr_name(attr_type&& v) { \ | 106 | 11.4k | if (attr_container == v) return; \ | 107 | 2.73k | attr_container = std::move(v); \ | 108 | 2.73k | this->invalidate(); \ | 109 | 2.73k | } |
sksg::DropShadowImageFilter::setSigma(SkPoint&&) Line | Count | Source | 105 | 11.4k | void set##attr_name(attr_type&& v) { \ | 106 | 11.4k | if (attr_container == v) return; \ | 107 | 1.61k | attr_container = std::move(v); \ | 108 | 1.61k | this->invalidate(); \ | 109 | 1.61k | } |
sksg::DropShadowImageFilter::setColor(unsigned int&&) Line | Count | Source | 105 | 11.4k | void set##attr_name(attr_type&& v) { \ | 106 | 11.4k | if (attr_container == v) return; \ | 107 | 2.35k | attr_container = std::move(v); \ | 108 | 2.35k | this->invalidate(); \ | 109 | 2.35k | } |
sksg::DropShadowImageFilter::setMode(sksg::DropShadowImageFilter::Mode&&) Line | Count | Source | 105 | 11.4k | void set##attr_name(attr_type&& v) { \ | 106 | 11.4k | if (attr_container == v) return; \ | 107 | 586 | attr_container = std::move(v); \ | 108 | 586 | this->invalidate(); \ | 109 | 586 | } |
sksg::BlurImageFilter::setSigma(SkPoint&&) Line | Count | Source | 105 | 1.71k | void set##attr_name(attr_type&& v) { \ | 106 | 1.71k | if (attr_container == v) return; \ | 107 | 1.06k | attr_container = std::move(v); \ | 108 | 1.06k | this->invalidate(); \ | 109 | 1.06k | } |
Unexecuted instantiation: sksg::BlurImageFilter::setTileMode(SkTileMode&&) Unexecuted instantiation: sksg::BlendModeEffect::setMode(SkBlendMode&&) Unexecuted instantiation: sksg::LayerEffect::setMode(SkBlendMode&&) Unexecuted instantiation: sksg::Text::setTypeface(sk_sp<SkTypeface>&&) Unexecuted instantiation: sksg::Text::setText(SkString&&) Unexecuted instantiation: sksg::Text::setPosition(SkPoint&&) Unexecuted instantiation: sksg::Text::setSize(float&&) Unexecuted instantiation: sksg::Text::setScaleX(float&&) Unexecuted instantiation: sksg::Text::setSkewX(float&&) Unexecuted instantiation: sksg::Text::setAlign(SkTextUtils::Align&&) Unexecuted instantiation: sksg::Text::setEdging(SkFont::Edging&&) Unexecuted instantiation: sksg::Text::setHinting(SkFontHinting&&) Unexecuted instantiation: sksg::TextBlob::setBlob(sk_sp<SkTextBlob>&&) Unexecuted instantiation: sksg::TextBlob::setPosition(SkPoint&&) sksg::Matrix<SkM44>::setMatrix(SkM44&&) Line | Count | Source | 105 | 10.5k | void set##attr_name(attr_type&& v) { \ | 106 | 10.5k | if (attr_container == v) return; \ | 107 | 10.5k | attr_container = std::move(v); \ | 108 | 10.5k | this->invalidate(); \ | 109 | 10.5k | } |
Unexecuted instantiation: sksg::Rect::setL(float&&) Unexecuted instantiation: sksg::Rect::setT(float&&) Unexecuted instantiation: sksg::Rect::setR(float&&) Unexecuted instantiation: sksg::Rect::setB(float&&) sksg::RRect::setRRect(SkRRect&&) Line | Count | Source | 105 | 169k | void set##attr_name(attr_type&& v) { \ | 106 | 169k | if (attr_container == v) return; \ | 107 | 53.3k | attr_container = std::move(v); \ | 108 | 53.3k | this->invalidate(); \ | 109 | 53.3k | } |
Unexecuted instantiation: skottie::internal::MotionBlurEffect::setT(float&&) sksg::Matrix<SkMatrix>::setMatrix(SkMatrix&&) Line | Count | Source | 105 | 42.3k | void set##attr_name(attr_type&& v) { \ | 106 | 42.3k | if (attr_container == v) return; \ | 107 | 42.0k | attr_container = std::move(v); \ | 108 | 42.0k | this->invalidate(); \ | 109 | 42.0k | } |
sksg::ExternalColorFilter::setColorFilter(sk_sp<SkColorFilter>&&) Line | Count | Source | 105 | 6.84k | void set##attr_name(attr_type&& v) { \ | 106 | 6.84k | if (attr_container == v) return; \ | 107 | 4.93k | attr_container = std::move(v); \ | 108 | 4.93k | this->invalidate(); \ | 109 | 4.93k | } |
sksg::GradientColorFilter::setWeight(float&&) Line | Count | Source | 105 | 9.36k | void set##attr_name(attr_type&& v) { \ | 106 | 9.36k | if (attr_container == v) return; \ | 107 | 7.31k | attr_container = std::move(v); \ | 108 | 7.31k | this->invalidate(); \ | 109 | 7.31k | } |
Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setEvolution(float&&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setNoiseFilter(skottie::internal::(anonymous namespace)::NoiseFilter&&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setNoiseFractal(skottie::internal::(anonymous namespace)::NoiseFractal&&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setMatrix(SkMatrix&&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setSubMatrix(SkMatrix&&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setOctaves(float&&) Unexecuted instantiation: FractalNoiseEffect.cpp:skottie::internal::(anonymous namespace)::FractalNoiseNode::setPersistence(float&&) sksg::Gradient::setColorStops(std::__1::vector<sksg::Gradient::ColorStop, std::__1::allocator<sksg::Gradient::ColorStop> >&&) Line | Count | Source | 105 | 7.89k | void set##attr_name(attr_type&& v) { \ | 106 | 7.89k | if (attr_container == v) return; \ | 107 | 7.76k | attr_container = std::move(v); \ | 108 | 7.76k | this->invalidate(); \ | 109 | 7.76k | } |
sksg::RadialGradient::setEndRadius(float&&) Line | Count | Source | 105 | 3.74k | void set##attr_name(attr_type&& v) { \ | 106 | 3.74k | if (attr_container == v) return; \ | 107 | 1.72k | attr_container = std::move(v); \ | 108 | 1.72k | this->invalidate(); \ | 109 | 1.72k | } |
Unexecuted instantiation: sksg::Gradient::setTileMode(SkTileMode&&) Unexecuted instantiation: sksg::LinearGradient::setStartPoint(SkPoint&&) Unexecuted instantiation: sksg::LinearGradient::setEndPoint(SkPoint&&) Unexecuted instantiation: sksg::RadialGradient::setStartCenter(SkPoint&&) Unexecuted instantiation: sksg::RadialGradient::setEndCenter(SkPoint&&) sksg::RadialGradient::setStartRadius(float&&) Line | Count | Source | 105 | 2.92k | void set##attr_name(attr_type&& v) { \ | 106 | 2.92k | if (attr_container == v) return; \ | 107 | 0 | attr_container = std::move(v); \ | 108 | 0 | this->invalidate(); \ | 109 | 0 | } |
MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setTileCenter(SkPoint&&) Line | Count | Source | 105 | 14.5k | void set##attr_name(attr_type&& v) { \ | 106 | 14.5k | if (attr_container == v) return; \ | 107 | 11.9k | attr_container = std::move(v); \ | 108 | 11.9k | this->invalidate(); \ | 109 | 11.9k | } |
MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setMirrorEdges(bool&&) Line | Count | Source | 105 | 14.5k | void set##attr_name(attr_type&& v) { \ | 106 | 14.5k | if (attr_container == v) return; \ | 107 | 1.46k | attr_container = std::move(v); \ | 108 | 1.46k | this->invalidate(); \ | 109 | 1.46k | } |
MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setHorizontalPhase(bool&&) Line | Count | Source | 105 | 14.5k | void set##attr_name(attr_type&& v) { \ | 106 | 14.5k | if (attr_container == v) return; \ | 107 | 774 | attr_container = std::move(v); \ | 108 | 774 | this->invalidate(); \ | 109 | 774 | } |
Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setTileWidth(float&&) Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setTileHeight(float&&) Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setOutputWidth(float&&) Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setOutputHeight(float&&) Unexecuted instantiation: MotionTileEffect.cpp:skottie::internal::(anonymous namespace)::TileRenderNode::setPhase(float&&) RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setWipeCenter(SkPoint&&) Line | Count | Source | 105 | 2.66k | void set##attr_name(attr_type&& v) { \ | 106 | 2.66k | if (attr_container == v) return; \ | 107 | 487 | attr_container = std::move(v); \ | 108 | 487 | this->invalidate(); \ | 109 | 487 | } |
Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setCompletion(float&&) Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setStartAngle(float&&) Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setWipe(float&&) Unexecuted instantiation: RadialWipeEffect.cpp:skottie::internal::(anonymous namespace)::RWipeRenderNode::setFeather(float&&) SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setCenter(SkPoint&&) Line | Count | Source | 105 | 3.36k | void set##attr_name(attr_type&& v) { \ | 106 | 3.36k | if (attr_container == v) return; \ | 107 | 104 | attr_container = std::move(v); \ | 108 | 104 | this->invalidate(); \ | 109 | 104 | } |
SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setSide(skottie::internal::(anonymous namespace)::SphereNode::RenderSide&&) Line | Count | Source | 105 | 3.36k | void set##attr_name(attr_type&& v) { \ | 106 | 3.36k | if (attr_container == v) return; \ | 107 | 101 | attr_container = std::move(v); \ | 108 | 101 | this->invalidate(); \ | 109 | 101 | } |
SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setRotation(SkM44&&) Line | Count | Source | 105 | 3.36k | void set##attr_name(attr_type&& v) { \ | 106 | 3.36k | if (attr_container == v) return; \ | 107 | 418 | attr_container = std::move(v); \ | 108 | 418 | this->invalidate(); \ | 109 | 418 | } |
SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setDiffuseLight(float&&) Line | Count | Source | 105 | 3.36k | void set##attr_name(attr_type&& v) { \ | 106 | 3.36k | if (attr_container == v) return; \ | 107 | 0 | attr_container = std::move(v); \ | 108 | 0 | this->invalidate(); \ | 109 | 0 | } |
SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setSpecularLight(float&&) Line | Count | Source | 105 | 3.36k | void set##attr_name(attr_type&& v) { \ | 106 | 3.36k | if (attr_container == v) return; \ | 107 | 0 | attr_container = std::move(v); \ | 108 | 0 | this->invalidate(); \ | 109 | 0 | } |
SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setLightVec(SkV3&&) Line | Count | Source | 105 | 3.36k | void set##attr_name(attr_type&& v) { \ | 106 | 3.36k | if (attr_container == v) return; \ | 107 | 3.15k | attr_container = std::move(v); \ | 108 | 3.15k | this->invalidate(); \ | 109 | 3.15k | } |
SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setLightColor(SkV3&&) Line | Count | Source | 105 | 3.36k | void set##attr_name(attr_type&& v) { \ | 106 | 3.36k | if (attr_container == v) return; \ | 107 | 3.36k | attr_container = std::move(v); \ | 108 | 3.36k | this->invalidate(); \ | 109 | 3.36k | } |
SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setSpecularExp(float&&) Line | Count | Source | 105 | 3.36k | void set##attr_name(attr_type&& v) { \ | 106 | 3.36k | if (attr_container == v) return; \ | 107 | 3.36k | attr_container = std::move(v); \ | 108 | 3.36k | this->invalidate(); \ | 109 | 3.36k | } |
Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setRadius(float&&) Unexecuted instantiation: SphereEffect.cpp:skottie::internal::(anonymous namespace)::SphereNode::setAmbientLight(float&&) Unexecuted instantiation: sksg::Image::setImage(sk_sp<SkImage>&&) Unexecuted instantiation: sksg::Image::setSamplingOptions(SkSamplingOptions&&) Unexecuted instantiation: sksg::Image::setAntiAlias(bool&&) Unexecuted instantiation: PrecompLayer.cpp:skottie::internal::AnimationBuilder::attachExternalPrecompLayer(skjson::ObjectValue const&, skottie::internal::AnimationBuilder::LayerInfo const&) const::SGAdapter::setT(float&&) Unexecuted instantiation: sksg::TrimEffect::setStart(float&&) Unexecuted instantiation: sksg::TrimEffect::setStop(float&&) Unexecuted instantiation: sksg::TrimEffect::setMode(SkTrimPathEffect::Mode&&) Unexecuted instantiation: sksg::DashEffect::setIntervals(std::__1::vector<float, std::__1::allocator<float> >&&) Unexecuted instantiation: sksg::DashEffect::setPhase(float&&) Unexecuted instantiation: sksg::RoundEffect::setRadius(float&&) Unexecuted instantiation: sksg::OffsetEffect::setOffset(float&&) Unexecuted instantiation: sksg::OffsetEffect::setMiterLimit(float&&) Unexecuted instantiation: sksg::OffsetEffect::setJoin(SkPaint::Join&&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setScale(SkV2&&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setChildTileMode(SkTileMode&&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setPos(skottie::internal::(anonymous namespace)::DisplacementNode::Pos&&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setXSelector(skottie::internal::(anonymous namespace)::DisplacementNode::Selector&&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setYSelector(skottie::internal::(anonymous namespace)::DisplacementNode::Selector&&) Unexecuted instantiation: DisplacementMapEffect.cpp:skottie::internal::(anonymous namespace)::DisplacementNode::setExpandBounds(bool&&) PuckerBloat.cpp:skottie::internal::(anonymous namespace)::PuckerBloatEffect::setAmount(float&&) Line | Count | Source | 105 | 19.2k | void set##attr_name(attr_type&& v) { \ | 106 | 19.2k | if (attr_container == v) return; \ | 107 | 3.36k | attr_container = std::move(v); \ | 108 | 3.36k | this->invalidate(); \ | 109 | 3.36k | } |
Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setCount(unsigned long&&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setScale(SkV2&&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setOffset(float&&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setAnchorPoint(SkV2&&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setPosition(SkV2&&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setRotation(float&&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setStartOpacity(float&&) Unexecuted instantiation: Repeater.cpp:skottie::internal::(anonymous namespace)::RepeaterRenderNode::setEndOpacity(float&&) |
110 | | |
111 | | #define SG_MAPPED_ATTRIBUTE(attr_name, attr_type, attr_container) \ |
112 | 342k | attr_type get##attr_name() const { return attr_container.get##attr_name(); } \ sksg::Rect::getDirection() const Line | Count | Source | 112 | 21.0k | attr_type get##attr_name() const { return attr_container.get##attr_name(); } \ |
sksg::Rect::getInitialPointIndex() const Line | Count | Source | 112 | 21.0k | attr_type get##attr_name() const { return attr_container.get##attr_name(); } \ |
sksg::RRect::getDirection() const Line | Count | Source | 112 | 150k | attr_type get##attr_name() const { return attr_container.get##attr_name(); } \ |
sksg::RRect::getInitialPointIndex() const Line | Count | Source | 112 | 150k | attr_type get##attr_name() const { return attr_container.get##attr_name(); } \ |
|
113 | 0 | void set##attr_name(const attr_type& v) { \ |
114 | 0 | if (attr_container.get##attr_name() == v) return; \ |
115 | 0 | attr_container.set##attr_name(v); \ |
116 | 0 | this->invalidate(); \ |
117 | 0 | } \ Unexecuted instantiation: sksg::Rect::setDirection(SkPathDirection const&) Unexecuted instantiation: sksg::Rect::setInitialPointIndex(unsigned char const&) Unexecuted instantiation: sksg::RRect::setDirection(SkPathDirection const&) Unexecuted instantiation: sksg::RRect::setInitialPointIndex(unsigned char const&) |
118 | 341k | void set##attr_name(attr_type&& v) { \ |
119 | 341k | if (attr_container.get##attr_name() == v) return; \ |
120 | 174k | attr_container.set##attr_name(std::move(v)); \ |
121 | 174k | this->invalidate(); \ |
122 | 174k | } Unexecuted instantiation: sksg::Rect::setDirection(SkPathDirection&&) Unexecuted instantiation: sksg::Rect::setInitialPointIndex(unsigned char&&) sksg::RRect::setDirection(SkPathDirection&&) Line | Count | Source | 118 | 170k | void set##attr_name(attr_type&& v) { \ | 119 | 170k | if (attr_container.get##attr_name() == v) return; \ | 120 | 3.58k | attr_container.set##attr_name(std::move(v)); \ | 121 | 3.58k | this->invalidate(); \ | 122 | 3.58k | } |
sksg::RRect::setInitialPointIndex(unsigned char&&) Line | Count | Source | 118 | 170k | void set##attr_name(attr_type&& v) { \ | 119 | 170k | if (attr_container.get##attr_name() == v) return; \ | 120 | 170k | attr_container.set##attr_name(std::move(v)); \ | 121 | 170k | this->invalidate(); \ | 122 | 170k | } |
|
123 | | |
124 | | } // namespace sksg |
125 | | |
126 | | #endif // SkSGNode_DEFINED |