Home
last modified time | relevance | path

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

/external/skia/src/animator/
DSkDrawPaint.cpp43 SK_MEMBER(maskFilter, MaskFilter),
68 linearText(-1), maskFilter((SkDrawMaskFilter*) -1), pathEffect((SkDrawPathEffect*) -1), in SkDrawPaint()
82 delete maskFilter; in ~SkDrawPaint()
124 if (maskFilter != (SkDrawMaskFilter*)-1) { in dump()
126 maskFilter->dump(maker); in dump()
202 if (fOwnsMaskFilter && maker.resolveID(maskFilter, original->maskFilter) == false) in resolveIDs()
229 if (maskFilter == nullptr) in setupPaint()
231 else if (maskFilter != (SkDrawMaskFilter*) -1) in setupPaint()
232 SkSafeUnref(paint->setMaskFilter(maskFilter->getMaskFilter())); in setupPaint()
DSkPaintPart.cpp33 if (fPaint->maskFilter != (SkDrawMaskFilter*) -1) in add()
35 fPaint->maskFilter = this; in add()
DSkDrawPaint.h50 SkDrawMaskFilter* maskFilter; variable
DSkAnimateSchema.xsd1787 <!-- /** maskFilter
1790 <xs:element name="maskFilter">
1941 <!-- @element maskFilter MaskFilter cancels a blur or emboss. -->
1942 <xs:element ref="Sk:maskFilter"/>
1968 <!-- @attribute maskFilter MaskFilter specifies a blur or emboss with this ID. -->
1969 <xs:attribute name="maskFilter" type="Sk:MaskFilter"/>
/external/skia/src/gpu/
DGrBlurUtils.cpp154 const SkMaskFilter* maskFilter, in draw_path_with_mask_filter() argument
159 SkASSERT(maskFilter); in draw_path_with_mask_filter()
199 if (maskFilter->canFilterMaskGPU(SkRRect::MakeRect(devPathPtr->getBounds()), in draw_path_with_mask_filter()
210 if (maskFilter->directFilterMaskGPU(context->textureProvider(), in draw_path_with_mask_filter()
231 if (maskFilter->filterMaskGPU(mask, viewMatrix, maskRect, &filtered, true)) { in draw_path_with_mask_filter()
248 maskFilter, clipBounds, paint, style); in draw_path_with_mask_filter()
/external/skia/bench/
DBlurRoundRectBench.cpp52 SkMaskFilter* maskFilter = SkBlurMaskFilter::Create( in onDraw() local
56 paint->setMaskFilter(maskFilter)->unref(); in onDraw()
/external/skia/gm/
Dblurroundrect.cpp58 SkMaskFilter* maskFilter = SkBlurMaskFilter::Create( in onDraw() local
62 paint->setMaskFilter(maskFilter)->unref(); in onDraw()
/external/skia/samplecode/
DSampleFilterFuzz.cpp477 SkMaskFilter* maskFilter; in make_mask_filter() local
480 maskFilter = SkBlurMaskFilter::Create(make_blur_style(), in make_mask_filter()
491 maskFilter = SkEmbossMaskFilter::Create(make_scalar(), in make_mask_filter()
496 maskFilter = nullptr; in make_mask_filter()
499 return maskFilter; in make_mask_filter()
/external/skia/tools/json/
DSkJSONRenderer.cpp306 SkMaskFilter* maskFilter = (SkMaskFilter*) load_flattenable(jsonMaskFilter); in apply_paint_maskfilter() local
307 if (maskFilter != nullptr) { in apply_paint_maskfilter()
308 target->setMaskFilter(maskFilter); in apply_paint_maskfilter()
309 maskFilter->unref(); in apply_paint_maskfilter()
DSkJSONCanvas.cpp321 SkMaskFilter* maskFilter = paint.getMaskFilter(); in apply_paint_maskfilter() local
322 if (maskFilter != nullptr) { in apply_paint_maskfilter()
324 if (maskFilter->asABlur(&blurRec)) { in apply_paint_maskfilter()
357 flatten(maskFilter, &jsonMaskFilter, sendBinaries); in apply_paint_maskfilter()
/external/skia/tools/debugger/
DSkDrawCommand.cpp927 SkMaskFilter* maskFilter = paint.getMaskFilter(); in apply_paint_maskfilter() local
928 if (maskFilter != nullptr) { in apply_paint_maskfilter()
930 if (maskFilter->asABlur(&blurRec)) { in apply_paint_maskfilter()
968 flatten(maskFilter, &jsonMaskFilter, urlDataManager); in apply_paint_maskfilter()
1155 SkMaskFilter* maskFilter = (SkMaskFilter*) load_flattenable(jsonMaskFilter, urlDataManager); in extract_json_paint_maskfilter() local
1156 if (maskFilter != nullptr) { in extract_json_paint_maskfilter()
1157 target->setMaskFilter(maskFilter); in extract_json_paint_maskfilter()
1158 maskFilter->unref(); in extract_json_paint_maskfilter()
/external/skia/src/core/
DSkPaint.cpp2174 SkMaskFilter* maskFilter = this->getMaskFilter(); in toString() local
2175 if (maskFilter) { in toString()
2177 maskFilter->toString(str); in toString()