Home
last modified time | relevance | path

Searched refs:getMaskFilter (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/docs/examples/
DPaint_getMaskFilter.cpp8 SkDebugf("nullptr %c= mask filter\n", paint.getMaskFilter() ? '!' : '='); in draw()
10 SkDebugf("nullptr %c= mask filter\n", paint.getMaskFilter() ? '!' : '='); in draw()
DPaint_refMaskFilter.cpp9 SkDebugf("mask filter unique: %s\n", paint1.getMaskFilter()->unique() ? "true" : "false"); in draw()
11 SkDebugf("mask filter unique: %s\n", paint1.getMaskFilter()->unique() ? "true" : "false"); in draw()
DPaintDump.cpp70 if (p.getMaskFilter()) { in PaintStringDump()
/external/skia/src/core/
DSkPaint.cpp220 effects |= reinterpret_cast<uintptr_t>(this->getMaskFilter()); in computeFastBounds()
248 if (this->getMaskFilter()) { in doComputeFastBounds()
249 as_MFB(this->getMaskFilter())->computeFastBounds(*storage, storage); in doComputeFastBounds()
DSkPaintPriv.cpp70 return p.getImageFilter() || p.getMaskFilter() || in ShouldDither()
205 paint.getMaskFilter() || in Flatten()
221 buffer.writeFlattenable(paint.getMaskFilter()); in Flatten()
DSkDraw.cpp254 if (paint.getPathEffect() || paint.getMaskFilter()) { in init()
584 if (paint.getPathEffect() || paint.getMaskFilter() || in ComputeRectType()
721 if (paint.getMaskFilter() && in drawDevMask()
722 as_MFB(paint.getMaskFilter()) in drawDevMask()
801 if (paint.getMaskFilter()) { in drawRRect()
806 if (as_MFB(paint.getMaskFilter())->filterRRect(devRRect, ctm, *fRC, blitter.get())) { in drawRRect()
832 if (paint.getMaskFilter()) { in drawDevPath()
835 if (as_MFB(paint.getMaskFilter()) in drawDevPath()
DSkBlitter_Sprite.cpp71 if (paint.getMaskFilter() || paint.getColorFilter() || paint.getImageFilter()) { in Supports()
219 if (!blitter && !paint.getMaskFilter()) { in ChooseSprite()
DSkSpriteBlitter_ARGB32.cpp100 if (paint.getMaskFilter() != nullptr) { in ChooseL32()
DSkBitmapDevice.cpp397 if (!paint.getMaskFilter()) { in CanApplyDstMatrixAsCTM()
566 SkASSERT(!paint.getMaskFilter()); in drawDevice()
576 SkASSERT(!paint.getMaskFilter()); in drawSpecial()
DSkTextBlobTrace.cpp50 || p.getMaskFilter() != nullptr in DumpTrace()
DSkRecordOpts.cpp133 layerPaint->getMaskFilter() || in fold_opacity_layer_color_to_paint()
DSkDevice.cpp112 bool complexPaint = paint.getStyle() != SkPaint::kFill_Style || paint.getMaskFilter() || in drawRegion()
332 SkASSERT(!paint.getImageFilter() && !paint.getMaskFilter()); in drawFilteredImage()
DSkScalerContext.h221 , fMaskFilter(paint.getMaskFilter()) {} in SkScalerContextEffects()
DSkGlyphRunPainter.cpp214 pathPaint.getMaskFilter() || in drawForBitmapDevice()
/external/skia/src/gpu/ganesh/
DDevice.cpp472 if (!paint.getMaskFilter() && in drawPoints()
502 paint.getMaskFilter() || in drawPoints()
542 if (paint.getMaskFilter() || paint.getPathEffect()) { in drawRect()
605 SkMaskFilterBase* mf = as_MFB(paint.getMaskFilter()); in drawRRect()
653 if (stroke.isFillStyle() && !paint.getMaskFilter() && !paint.getPathEffect()) { in drawDRRect()
696 if (paint.getMaskFilter()) { in drawRegion()
722 if (paint.getMaskFilter()) { in drawOval()
750 if (paint.getMaskFilter()) { in drawArc()
780 if (!paint.getMaskFilter()) { in drawPath()
DDevice_drawTexture.cpp333 return (!paint.getColorFilter() && !paint.getShader() && !paint.getMaskFilter() && in can_use_draw_texture()
459 const SkMaskFilter* mf = paint.getMaskFilter(); in draw_image()
719 SkASSERT(!paint.getMaskFilter() && !paint.getImageFilter()); in drawSpecial()
DGrBlurUtils.cpp589 SkMaskFilterBase* mf = as_MFB(paint.getMaskFilter()); in drawShapeWithMaskFilter()
/external/skia/src/pdf/
DSkPDFDevice.cpp502 SkASSERT(origPaint.getMaskFilter()); in internalDrawPathWithFilter()
513 if (!SkDraw::DrawToMask(path, bounds, paint->getMaskFilter(), &SkMatrix::I(), in internalDrawPathWithFilter()
521 if (!as_MFB(paint->getMaskFilter())->filterMask(&dstMask, sourceMask, ctm, &margin)) { in internalDrawPathWithFilter()
575 if (paint->getMaskFilter()) { in internalDrawPath()
828 || runPaint.getMaskFilter() in internalDrawGlyphRun()
1160 NOT_IMPLEMENTED(paint.getMaskFilter() != nullptr, false); in populate_graphic_state_entry_from_paint()
1539 if (paint->getMaskFilter()) { in internalDrawImageRect()
1542 tmpPaint.setMaskFilter(sk_ref_sp(paint->getMaskFilter())); in internalDrawImageRect()
1568 if (paint->getMaskFilter()) { in internalDrawImageRect()
1698 SkASSERT(!paint.getMaskFilter()); in drawDevice()
[all …]
/external/skia/tools/
Dblob_cache_sim.cpp34 && paint.getMaskFilter() == nullptr; in main()
/external/skia/src/text/gpu/
DSDFTControl.cpp72 paint.getMaskFilter() == nullptr && in isSDFT()
DTextBlob.cpp231 const SkMaskFilter* maskFilter = paint.getMaskFilter(); in Make()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativePaintTest.java559 assertEquals(m, p2.getMaskFilter()); in testSet()
567 assertEquals(m, p2.getMaskFilter()); in testSet()
581 assertNull(p2.getMaskFilter()); in testSet()
589 assertNull(p2.getMaskFilter()); in testSet()
812 assertEquals(m, p.getMaskFilter()); in testAccessMaskFilter()
815 assertNull(p.getMaskFilter()); in testAccessMaskFilter()
1300 assertEquals(m, p.getMaskFilter()); in testReset()
1310 assertNull(p.getMaskFilter()); in testReset()
/external/skia/include/core/
DSkPaint.h534 SkMaskFilter* getMaskFilter() const { return fMaskFilter.get(); } in getMaskFilter() function
/external/skia/src/gpu/graphite/
DDevice.cpp857 if (!(flags & DrawFlags::kIgnoreMaskFilter) && paint.getMaskFilter()) { in drawGeometry()
886 SkASSERT(!SkToBool(paint.getMaskFilter()) || (flags & DrawFlags::kIgnoreMaskFilter)); in drawGeometry()
1153 SkASSERT(!paint.getMaskFilter() && !paint.getImageFilter()); in drawSpecial()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp167 const SkMaskFilter* mf = rec->fPaint.getMaskFilter(); in asABlurShadow()

12