Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrBlurUtils.cpp257 const SkMaskFilterBase* maskFilter, in draw_shape_with_mask_filter() argument
259 SkASSERT(maskFilter); in draw_shape_with_mask_filter()
278 if (maskFilter->directFilterMaskGPU(context, in draw_shape_with_mask_filter()
311 shape->hasUnstyledKey() && as_MFB(maskFilter)->asABlur(nullptr); in draw_shape_with_mask_filter()
317 maskFilter->canFilterMaskGPU(*shape, unclippedDevShapeBounds, devClipBounds, in draw_shape_with_mask_filter()
319 maskFilter->canFilterMaskGPU(*shape, unclippedDevShapeBounds, unclippedDevShapeBounds, in draw_shape_with_mask_filter()
371 SkAssertResult(as_MFB(maskFilter)->asABlur(&rec)); in draw_shape_with_mask_filter()
379 if (maskFilter->canFilterMaskGPU(*shape, in draw_shape_with_mask_filter()
407 filteredMask = maskFilter->filterMaskGPU(context, in draw_shape_with_mask_filter()
430 maskFilter, *boundsForClip, std::move(paint), maskKey); in draw_shape_with_mask_filter()
DSkGr.cpp483 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl() local
484 if (maskFilter) { in skpaint_to_grpaint_impl()
485 if (auto mfFP = maskFilter->asFragmentProcessor(fpArgs)) { in skpaint_to_grpaint_impl()
/external/skia/src/gpu/
DGrBlurUtils.cpp283 const SkMaskFilterBase* maskFilter, in compute_key_and_clip_bounds() argument
293 shape.hasUnstyledKey() && as_MFB(maskFilter)->asABlur(nullptr); in compute_key_and_clip_bounds()
297 maskFilter->canFilterMaskGPU(shape, unclippedDevShapeBounds, devClipBounds, in compute_key_and_clip_bounds()
299 maskFilter->canFilterMaskGPU(shape, unclippedDevShapeBounds, unclippedDevShapeBounds, in compute_key_and_clip_bounds()
351 SkAssertResult(as_MFB(maskFilter)->asABlur(&rec)); in compute_key_and_clip_bounds()
462 const SkMaskFilterBase* maskFilter, in draw_shape_with_mask_filter() argument
464 SkASSERT(maskFilter); in draw_shape_with_mask_filter()
483 if (maskFilter->directFilterMaskGPU(rContext, surfaceDrawContext, std::move(paint), clip, in draw_shape_with_mask_filter()
510 maskFilter, *shape, in draw_shape_with_mask_filter()
521 viewMatrix, *shape, maskFilter, in draw_shape_with_mask_filter()
[all …]
DSkGr.cpp425 SkMaskFilterBase* maskFilter = as_MFB(skPaint.getMaskFilter()); in skpaint_to_grpaint_impl() local
426 if (maskFilter) { in skpaint_to_grpaint_impl()
429 if (auto mfFP = maskFilter->asFragmentProcessor(fpArgs)) { in skpaint_to_grpaint_impl()
/external/skia/gm/
Dcompositor_quads.cpp692 sk_sp<SkMaskFilter> maskFilter, SkScalar paintAlpha, in Make() argument
696 std::move(maskFilter), paintAlpha, resetAfterEachQuad, transformCount)); in Make()
799 sk_sp<SkMaskFilter> maskFilter, in TextureSetRenderer() argument
809 , fMaskFilter(std::move(maskFilter)) in TextureSetRenderer()
1040 sk_sp<SkMaskFilter> maskFilter = SkShaderMaskFilter::Make(std::move(alphaGradient)); in make_filtered_renderers() local
1051 TextureSetRenderer::MakeMaskFilter("Shader", mandrill, std::move(maskFilter))}; in make_filtered_renderers()
Dimagefilters.cpp255 sk_sp<SkMaskFilter> maskFilter = SkShaderMaskFilter::Make(alphaMaskShader); variable
264 testMaskPaint.setMaskFilter(maskFilter);
/external/skqp/include/core/
DSkPaint.h524 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);
/external/skia/include/core/
DSkPaint.h571 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts381 maskFilter?: MaskFilter, pathEffect?: PathEffect, shader?: Shader) {
382 if (!colorFilter || !colorFilter || !imageFilter || !maskFilter || !pathEffect || !shader) {
404 paint.setMaskFilter(maskFilter);
/external/skqp/tools/debugger/
DSkDrawCommand.cpp890 SkMaskFilter* maskFilter = paint.getMaskFilter(); in apply_paint_maskfilter() local
891 if (maskFilter != nullptr) { in apply_paint_maskfilter()
893 if (as_MFB(maskFilter)->asABlur(&blurRec)) { in apply_paint_maskfilter()
919 SkDrawCommand::flatten(maskFilter, writer, urlDataManager); in apply_paint_maskfilter()
/external/skia/tools/debugger/
DDrawCommand.cpp824 SkMaskFilter* maskFilter = paint.getMaskFilter(); in apply_paint_maskfilter() local
825 if (maskFilter != nullptr) { in apply_paint_maskfilter()
827 if (as_MFB(maskFilter)->asABlur(&blurRec)) { in apply_paint_maskfilter()
848 DrawCommand::flatten(maskFilter, writer, urlDataManager); in apply_paint_maskfilter()
/external/skia/src/gpu/text/
DGrTextBlob.cpp1380 const SkMaskFilter* maskFilter = paint.getMaskFilter(); in Make() local
1383 (maskFilter && !as_MFB(maskFilter)->asABlur(&blurRec))); in Make()
1410 key.fHasBlur = maskFilter != nullptr; in Make()
/external/skqp/site/user/api/
DSkPaint_Reference.md118 …f='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkMaskFilter'>SkMaskFilter</a>> maskFilter);
3080 …documented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkMaskFilter'>SkMaskFilter</a>&gt; maskFilter)
3083 …ilter'>SkMaskFilter</a> to <a href='#SkPaint_setMaskFilter_maskFilter'>maskFilter</a>, decreasing …
3087 Increments <a href='#SkPaint_setMaskFilter_maskFilter'>maskFilter</a> <a href='undocumented#SkRefCn…
3091 <table> <tr> <td><a name='SkPaint_setMaskFilter_maskFilter'><code><strong>maskFilter</strong></…
/external/skqp/docs/
DSkPaint_Reference.bmh2096 #Method void setMaskFilter(sk_sp<SkMaskFilter> maskFilter)
/external/skia/tools/fiddle/
Ddocumumentation_examples_map.txt2291 void setMaskFilter(sk_sp<SkMaskFilter> maskFilter);