Home
last modified time | relevance | path

Searched refs:mask_paint (Results 1 – 2 of 2) sorted by relevance

/external/skqp/modules/skottie/src/
DSkottieLayer.cpp75 sk_sp<sksg::Color> mask_paint; // for masking in AttachMask() member
116 auto mask_paint = sksg::Color::Make(SK_ColorBLACK); in AttachMask() local
117 mask_paint->setAntiAlias(true); in AttachMask()
119 mask_paint->setBlendMode(mask_stack.empty() ? SkBlendMode::kSrc in AttachMask()
123 [mask_paint](const ScalarValue& o) { in AttachMask()
124 mask_paint->setOpacity(o * 0.01f); in AttachMask()
127 mask_stack.push_back({mask_path, mask_paint, mask_info->fMergeMode}); in AttachMask()
159 std::move(mask_stack.front().mask_paint)); in AttachMask()
165 std::move(rec.mask_paint))); in AttachMask()
/external/skia/modules/sksg/src/
DSkSGRenderNode.cpp122 SkPaint mask_paint; in ~ScopedRenderContext() local
123 mask_paint.setBlendMode(SkBlendMode::kDstIn); in ~ScopedRenderContext()
124 mask_paint.setShader(std::move(fMaskShader)); in ~ScopedRenderContext()
125 fCanvas->drawPaint(mask_paint); in ~ScopedRenderContext()