Home
last modified time | relevance | path

Searched refs:maskFilter (Results 1 – 25 of 27) sorted by relevance

12

/third_party/flutter/skia/src/gpu/
DGrBlurUtils.cpp254 const SkMaskFilterBase* maskFilter, in draw_shape_with_mask_filter() argument
256 SkASSERT(maskFilter); in draw_shape_with_mask_filter()
275 if (maskFilter->directFilterMaskGPU(context, in draw_shape_with_mask_filter()
308 shape->hasUnstyledKey() && as_MFB(maskFilter)->asABlur(nullptr); in draw_shape_with_mask_filter()
314 maskFilter->canFilterMaskGPU(*shape, unclippedDevShapeBounds, devClipBounds, in draw_shape_with_mask_filter()
316 maskFilter->canFilterMaskGPU(*shape, unclippedDevShapeBounds, unclippedDevShapeBounds, in draw_shape_with_mask_filter()
368 SkAssertResult(as_MFB(maskFilter)->asABlur(&rec)); in draw_shape_with_mask_filter()
376 if (maskFilter->canFilterMaskGPU(*shape, in draw_shape_with_mask_filter()
404 filteredMask = maskFilter->filterMaskGPU(context, in draw_shape_with_mask_filter()
427 maskFilter, *boundsForClip, std::move(paint), maskKey); in draw_shape_with_mask_filter()
DSkGr.cpp432 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl() local
433 if (maskFilter) { in skpaint_to_grpaint_impl()
436 if (auto mfFP = maskFilter->asFragmentProcessor(fpArgs)) { in skpaint_to_grpaint_impl()
/third_party/skia/src/gpu/
DGrBlurUtils.cpp291 const SkMaskFilterBase* maskFilter, in compute_key_and_clip_bounds() argument
301 shape.hasUnstyledKey() && as_MFB(maskFilter)->asABlur(nullptr); in compute_key_and_clip_bounds()
305 maskFilter->canFilterMaskGPU(shape, unclippedDevShapeBounds, devClipBounds, in compute_key_and_clip_bounds()
307 maskFilter->canFilterMaskGPU(shape, unclippedDevShapeBounds, unclippedDevShapeBounds, in compute_key_and_clip_bounds()
359 SkAssertResult(as_MFB(maskFilter)->asABlur(&rec)); in compute_key_and_clip_bounds()
469 const SkMaskFilterBase* maskFilter, in draw_shape_with_mask_filter() argument
471 SkASSERT(maskFilter); in draw_shape_with_mask_filter()
490 if (maskFilter->directFilterMaskGPU(rContext, sdc, std::move(paint), clip, in draw_shape_with_mask_filter()
516 maskFilter, *shape, in draw_shape_with_mask_filter()
527 viewMatrix, *shape, maskFilter, in draw_shape_with_mask_filter()
[all …]
DSkGr.cpp536 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl() local
537 if (maskFilter) { in skpaint_to_grpaint_impl()
538 if (auto mfFP = maskFilter->asFragmentProcessor(fpArgs)) { in skpaint_to_grpaint_impl()
/third_party/skia/gm/
Dcompositor_quads.cpp691 sk_sp<SkMaskFilter> maskFilter, SkScalar paintAlpha, in Make() argument
695 std::move(maskFilter), paintAlpha, resetAfterEachQuad, transformCount)); in Make()
798 sk_sp<SkMaskFilter> maskFilter, in TextureSetRenderer() argument
808 , fMaskFilter(std::move(maskFilter)) in TextureSetRenderer()
1039 sk_sp<SkMaskFilter> maskFilter = SkShaderMaskFilter::Make(std::move(alphaGradient)); in make_filtered_renderers() local
1050 TextureSetRenderer::MakeMaskFilter("Shader", mandrill, std::move(maskFilter))}; in make_filtered_renderers()
Dimagefilters.cpp254 sk_sp<SkMaskFilter> maskFilter = SkShaderMaskFilter::Make(alphaMaskShader); variable
263 testMaskPaint.setMaskFilter(maskFilter);
/third_party/flutter/skia/gm/
Dcompositor_quads.cpp689 sk_sp<SkMaskFilter> maskFilter, SkScalar paintAlpha, in Make() argument
693 std::move(maskFilter), paintAlpha, resetAfterEachQuad, transformCount)); in Make()
797 sk_sp<SkMaskFilter> maskFilter, in TextureSetRenderer() argument
807 , fMaskFilter(std::move(maskFilter)) in TextureSetRenderer()
1040 sk_sp<SkMaskFilter> maskFilter = SkShaderMaskFilter::Make(std::move(alphaGradient)); in make_filtered_renderers() local
1051 std::move(maskFilter))); in make_filtered_renderers()
Dsavelayer.cpp315 sk_sp<SkMaskFilter> maskFilter = SkShaderMaskFilter::Make(maskFilterImage->makeShader()); variable
345 maskPaint.setMaskFilter(maskFilter);
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Ddom_canvas.dart109 if (paint.maskFilter != null) {
110 style.filter = 'blur(${paint.maskFilter.webOnlySigma}px)';
Dbitmap_canvas.dart235 if (paint.maskFilter != null) {
236 _setFilter('blur(${paint.maskFilter.webOnlySigma}px)');
701 ..maskFilter = ui.MaskFilter.blur(ui.BlurStyle.normal, shadow.blur);
Drecording_canvas.dart993 paint.maskFilter?.webOnlySerializeToCssPaint(),
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dbox_shadow.dart52 ..maskFilter = MaskFilter.blur(BlurStyle.normal, blurSigma);
55 result.maskFilter = null;
/third_party/flutter/flutter/dev/benchmarks/macrobenchmarks/lib/src/
Dcubic_bezier.dart373 paint.maskFilter = blur;
377 paint.maskFilter = null;
/third_party/flutter/skia/include/core/
DSkPaint.h532 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);
/third_party/skia/include/core/
DSkPaint.h577 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts386 maskFilter?: MaskFilter, pathEffect?: PathEffect, shader?: Shader) {
387 if (!colorFilter || !colorFilter || !imageFilter || !maskFilter || !pathEffect || !shader) {
408 paint.setMaskFilter(maskFilter);
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dpainting.dart919 MaskFilter maskFilter;
928 ..maskFilter = maskFilter
1089 MaskFilter get maskFilter => _paintData.maskFilter;
1090 set maskFilter(MaskFilter value) {
1095 _paintData.maskFilter = value;
1099 /// filters, such as [maskFilter], or when drawing images, as with
1608 /// Instances of this class are used with [Paint.maskFilter] on [Paint] objects.
1969 ..maskFilter = MaskFilter.blur(BlurStyle.normal, blurSigma);
/third_party/flutter/skia/tools/debugger/
DDrawCommand.cpp843 SkMaskFilter* maskFilter = paint.getMaskFilter(); in apply_paint_maskfilter() local
844 if (maskFilter != nullptr) { in apply_paint_maskfilter()
846 if (as_MFB(maskFilter)->asABlur(&blurRec)) { in apply_paint_maskfilter()
867 DrawCommand::flatten(maskFilter, writer, urlDataManager); in apply_paint_maskfilter()
/third_party/skia/tools/debugger/
DDrawCommand.cpp816 SkMaskFilter* maskFilter = paint.getMaskFilter(); in apply_paint_maskfilter() local
817 if (maskFilter != nullptr) { in apply_paint_maskfilter()
819 if (as_MFB(maskFilter)->asABlur(&blurRec)) { in apply_paint_maskfilter()
840 DrawCommand::flatten(maskFilter, writer, urlDataManager); in apply_paint_maskfilter()
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1408 const SkMaskFilter* maskFilter = paint.getMaskFilter(); in Make() local
1411 (maskFilter && !as_MFB(maskFilter)->asABlur(&blurRec))); in Make()
1438 key.fHasBlur = maskFilter != nullptr; in Make()
/third_party/flutter/engine/flutter/lib/ui/
Dpainting.dart1271 MaskFilter get maskFilter {
1283 set maskFilter(MaskFilter value) {
1298 /// filters, such as [maskFilter], or when drawing images, as with
1446 if (maskFilter != null) {
1447 result.write('${semicolon}maskFilter: $maskFilter');
2426 /// Instances of this class are used with [Paint.maskFilter] on [Paint] objects.
3973 ..maskFilter = MaskFilter.blur(BlurStyle.normal, blurSigma);
/third_party/flutter/skia/site/user/api/
DSkPaint_Reference.md118 …f='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkMaskFilter'>SkMaskFilter</a>> maskFilter);
3053 …documented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkMaskFilter'>SkMaskFilter</a>&gt; maskFilter)
3056 …ilter'>SkMaskFilter</a> to <a href='#SkPaint_setMaskFilter_maskFilter'>maskFilter</a>, decreasing …
3060 Increments <a href='#SkPaint_setMaskFilter_maskFilter'>maskFilter</a> <a href='undocumented#SkRefCn…
3064 <table> <tr> <td><a name='SkPaint_setMaskFilter_maskFilter'><code><strong>maskFilter</strong></…
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dmock_canvas.dart908 if (hasMaskFilter != null && (paintArgument.maskFilter != null) != hasMaskFilter) {
/third_party/flutter/skia/tools/fiddle/
Ddocumumentation_examples_map.txt2317 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt2283 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);

12