Home
last modified time | relevance | path

Searched refs:maskPaint (Results 1 – 14 of 14) sorted by relevance

/third_party/flutter/engine/flutter/flow/layers/
Dmask_layer.h18 MaskLayer(const SkPaint& maskPaint) in MaskLayer() argument
19 : isGradientMask_(true), maskPaint_(maskPaint) {} in MaskLayer()
22 MaskLayer(const SkPaint& maskPaint, const SkPath& maskPath) in MaskLayer() argument
23 : isPathMask_(true), maskPaint_(maskPaint), maskPath_(maskPath) {} in MaskLayer()
Dmask_layer.cc56 SkPaint maskPaint; in Paint() local
57 maskPaint.setBlendMode(SkBlendMode::kSrcIn); in Paint()
58 skCanvas->saveLayer(maskBounds, &maskPaint); in Paint()
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dmask_layer.h21 MaskLayer(const SkPaint& maskPaint) in MaskLayer() argument
22 : isGradientMask_(true), maskPaint_(maskPaint) {} in MaskLayer()
27 MaskLayer(const SkPaint& maskPaint, const SkPath& maskPath) in MaskLayer() argument
28 : isPathMask_(true), maskPaint_(maskPaint), maskPath_(maskPath) {} in MaskLayer()
Dmask_layer.cpp57 SkPaint maskPaint; in Paint() local
58 maskPaint.setBlendMode(SkBlendMode::kSrcIn); in Paint()
59 skCanvas_->saveLayer(maskBounds, &maskPaint); in Paint()
Dlayer_tree_builder.cpp95 void LayerTreeBuilder::PushGradientColorMask(const SkPaint& maskPaint) in PushGradientColorMask() argument
97 auto layer = std::make_shared<MaskLayer>(maskPaint); in PushGradientColorMask()
101 void LayerTreeBuilder::PushPathMask(const SkPaint& maskPaint, const SkPath& maskPath) in PushPathMask() argument
103 auto layer = std::make_shared<MaskLayer>(maskPaint, maskPath); in PushPathMask()
Dlayer_tree_builder.h49 void PushGradientColorMask(const SkPaint& maskPaint);
51 void PushPathMask(const SkPaint& maskPaint, const SkPath& maskPath);
/third_party/flutter/skia/gm/
Dsavelayer.cpp307 SkPaint maskPaint; variable
308 maskPaint.setColor(SK_ColorWHITE);
309 maskPaint.setAntiAlias(true);
313 surf->getCanvas()->drawCircle(50.f, 50.f, 50.f, maskPaint);
319 surf->getCanvas()->drawRect(SkRect::MakeLTRB(0.f, 0.f, 40.f, 40.f), maskPaint);
320 surf->getCanvas()->drawRect(SkRect::MakeLTRB(60.f, 0.f, 100.f, 40.f), maskPaint);
321 surf->getCanvas()->drawRect(SkRect::MakeLTRB(0.f, 60.f, 40.f, 100.f), maskPaint);
322 surf->getCanvas()->drawRect(SkRect::MakeLTRB(60.f, 60.f, 100.f, 100.f), maskPaint);
345 maskPaint.setMaskFilter(maskFilter);
347 rec.fPaint = &maskPaint;
/third_party/flutter/skia/bench/
DShaderMaskFilterBench.cpp55 SkPaint maskPaint; in onDraw() local
56 maskPaint.setMaskFilter(fMaskFilter); in onDraw()
60 canvas->saveLayer(nullptr, &maskPaint); in onDraw()
/third_party/skia/bench/
DShaderMaskFilterBench.cpp61 SkPaint maskPaint; in onDraw() local
62 maskPaint.setMaskFilter(fMaskFilter); in onDraw()
66 canvas->saveLayer(nullptr, &maskPaint); in onDraw()
/third_party/flutter/engine/flutter/lib/ui/compositing/
Dscene_builder.cc178 fml::RefPtr<EngineLayer> SceneBuilder::PushGradientColorMask(const SkPaint& maskPaint) in PushGradientColorMask() argument
181 std::make_shared<flutter::MaskLayer>(maskPaint); in PushGradientColorMask()
198 fml::RefPtr<EngineLayer> SceneBuilder::PushPathMask(const SkPaint& maskPaint, const SkPath& maskPat… in PushPathMask() argument
200 std::make_shared<flutter::MaskLayer>(maskPaint, maskPath); in PushPathMask()
Dscene_builder.h69 fml::RefPtr<EngineLayer> PushGradientColorMask(const SkPaint& maskPaint);
71 fml::RefPtr<EngineLayer> PushPathMask(const SkPaint& maskPaint, const SkPath& maskPath);
/third_party/skia/gm/
Ddrawbitmaprect.cpp241 SkPaint maskPaint; in onDraw() local
245 maskPaint.setMaskFilter(SkMaskFilter::MakeBlur( in onDraw()
250 SkSamplingOptions(SkFilterMode::kLinear), &maskPaint); in onDraw()
/third_party/flutter/skia/src/gpu/
DGrBlurUtils.cpp188 GrPaint maskPaint; in create_mask_GPU() local
189 maskPaint.setCoverageSetOpXPFactory(SkRegion::kReplace_Op); in create_mask_GPU()
199 rtContext->drawShape(clip, std::move(maskPaint), GrAA::kYes, viewMatrix, shape); in create_mask_GPU()
/third_party/skia/src/gpu/
DGrBlurUtils.cpp224 GrPaint maskPaint; in create_mask_GPU() local
225 maskPaint.setCoverageSetOpXPFactory(SkRegion::kReplace_Op); in create_mask_GPU()
234 sdc->drawShape(&clip, std::move(maskPaint), GrAA::kYes, viewMatrix, GrStyledShape(shape)); in create_mask_GPU()