Searched refs:MaskEffect (Results 1 – 6 of 6) sorted by relevance
/external/skia/modules/sksg/src/ |
D | SkSGMaskEffect.cpp | 15 static bool is_inverted(sksg::MaskEffect::Mode mode) { in is_inverted() 19 static bool is_luma(sksg::MaskEffect::Mode mode) { in is_luma() 23 MaskEffect::MaskEffect(sk_sp<RenderNode> child, sk_sp<RenderNode> mask, Mode mode) in MaskEffect() function in sksg::MaskEffect 30 MaskEffect::~MaskEffect() { in ~MaskEffect() 34 void MaskEffect::onRender(SkCanvas* canvas, const RenderContext* ctx) const { in onRender() 76 const RenderNode* MaskEffect::onNodeAt(const SkPoint& p) const { in onNodeAt() 86 SkRect MaskEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { in onRevalidate()
|
/external/skqp/modules/sksg/include/ |
D | SkSGMaskEffect.h | 19 class MaskEffect final : public EffectNode { 26 static sk_sp<MaskEffect> Make(sk_sp<RenderNode> child, sk_sp<RenderNode> mask, 29 ? sk_sp<MaskEffect>(new MaskEffect(std::move(child), std::move(mask), mode)) 33 ~MaskEffect() override; 36 MaskEffect(sk_sp<RenderNode>, sk_sp<RenderNode> mask, Mode);
|
/external/skia/modules/sksg/include/ |
D | SkSGMaskEffect.h | 19 class MaskEffect final : public EffectNode { 28 static sk_sp<MaskEffect> Make(sk_sp<RenderNode> child, sk_sp<RenderNode> mask, 31 ? sk_sp<MaskEffect>(new MaskEffect(std::move(child), std::move(mask), mode)) 35 ~MaskEffect() override; 38 MaskEffect(sk_sp<RenderNode>, sk_sp<RenderNode> mask, Mode);
|
/external/skqp/modules/sksg/src/ |
D | SkSGMaskEffect.cpp | 14 MaskEffect::MaskEffect(sk_sp<RenderNode> child, sk_sp<RenderNode> mask, Mode mode) in MaskEffect() function in sksg::MaskEffect 21 MaskEffect::~MaskEffect() { in ~MaskEffect() 25 void MaskEffect::onRender(SkCanvas* canvas, const RenderContext* ctx) const { in onRender() 44 SkRect MaskEffect::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { in onRevalidate()
|
/external/skia/modules/skottie/src/ |
D | Layer.cpp | 212 return sksg::MaskEffect::Make(std::move(childNode), std::move(maskNode)); in AttachMask() 496 static constexpr sksg::MaskEffect::Mode gMatteModes[] = { in buildRenderTree() 497 sksg::MaskEffect::Mode::kAlphaNormal, // tt: 1 in buildRenderTree() 498 sksg::MaskEffect::Mode::kAlphaInvert, // tt: 2 in buildRenderTree() 499 sksg::MaskEffect::Mode::kLumaNormal, // tt: 3 in buildRenderTree() 500 sksg::MaskEffect::Mode::kLumaInvert, // tt: 4 in buildRenderTree() 505 layer = sksg::MaskEffect::Make(std::move(layer), in buildRenderTree()
|
/external/skqp/modules/skottie/src/ |
D | SkottieLayer.cpp | 171 return sksg::MaskEffect::Make(std::move(childNode), std::move(maskNode)); in AttachMask() 573 static constexpr sksg::MaskEffect::Mode gMaskModes[] = { in attachLayer() 574 sksg::MaskEffect::Mode::kNormal, // tt: 1 in attachLayer() 575 sksg::MaskEffect::Mode::kInvert, // tt: 2 in attachLayer() 580 return sksg::MaskEffect::Make(std::move(controller_node), in attachLayer()
|