Home
last modified time | relevance | path

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

123

/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.cpp69 if (p.getMaskFilter()) { in PaintStringDump()
/external/skia/src/core/
DSkPaint.cpp269 paint.getMaskFilter() || in Flatten()
284 buffer.writeFlattenable(paint.getMaskFilter()); in Flatten()
399 if (this->getMaskFilter()) { in doComputeFastBounds()
400 as_MFB(this->getMaskFilter())->computeFastBounds(*storage, storage); in doComputeFastBounds()
DSkSpriteBlitter_RGB565.cpp72 if (paint.getMaskFilter() != nullptr) { in ChooseL565()
160 if (paint.getMaskFilter() != nullptr) { in ChooseLA8()
DSkBlitter_Sprite.cpp68 if (paint.getMaskFilter() || paint.getColorFilter() || paint.getImageFilter()) { in Supports()
220 if (!blitter && !paint.getMaskFilter()) { in ChooseSprite()
DSkDraw.cpp572 if (paint.getPathEffect() || paint.getMaskFilter() || in ComputeRectType()
708 if (paint.getMaskFilter() && in drawDevMask()
709 as_MFB(paint.getMaskFilter()) in drawDevMask()
787 if (paint.getMaskFilter()) { in drawRRect()
792 if (as_MFB(paint.getMaskFilter())->filterRRect(devRRect, ctm, *fRC, blitter.get())) { in drawRRect()
831 if (paint.getMaskFilter()) { in drawDevPath()
834 if (as_MFB(paint.getMaskFilter()) in drawDevPath()
DSkPaintPriv.cpp60 return p.getImageFilter() || p.getMaskFilter() in ShouldDither()
DSkSpriteBlitter_ARGB32.cpp100 if (paint.getMaskFilter() != nullptr) { in ChooseL32()
/external/skqp/src/core/
DSkSpriteBlitter_RGB565.cpp73 if (paint.getMaskFilter() != nullptr) { in ChooseL565()
161 if (paint.getMaskFilter() != nullptr) { in ChooseLA8()
DSkBlitter_Sprite.cpp65 if (paint.getMaskFilter() || paint.getColorFilter() || paint.getImageFilter()) { in Supports()
205 if (!blitter && !paint.getMaskFilter()) { in ChooseSprite()
DSkPaint.cpp383 paint.getMaskFilter() || in Flatten()
399 buffer.writeFlattenable(paint.getMaskFilter()); in Flatten()
579 if (this->getMaskFilter()) { in doComputeFastBounds()
580 as_MFB(this->getMaskFilter())->computeFastBounds(*storage, storage); in doComputeFastBounds()
DSkPaintPriv.cpp58 return p.getImageFilter() || p.getMaskFilter() in ShouldDither()
DSkBitmapDevice.cpp425 if (!paint.getMaskFilter()) { in CanApplyDstMatrixAsCTM()
571 if (paint->getMaskFilter()) { in drawDevice()
572 paint.writable()->setMaskFilter(paint->getMaskFilter()->makeWithMatrix(this->ctm())); in drawDevice()
645 if (paint->getMaskFilter()) { in drawSpecial()
646 paint.writable()->setMaskFilter(paint->getMaskFilter()->makeWithMatrix(this->ctm())); in drawSpecial()
DSkDraw.cpp572 if (paint.getPathEffect() || paint.getMaskFilter() || in ComputeRectType()
709 if (paint.getMaskFilter() && in drawDevMask()
710 as_MFB(paint.getMaskFilter())->filterMask(&dstM, srcM, *fMatrix, nullptr)) { in drawDevMask()
786 if (paint.getMaskFilter()) { in drawRRect()
791 if (as_MFB(paint.getMaskFilter())->filterRRect(devRRect, *fMatrix, in drawRRect()
831 if (paint.getMaskFilter()) { in drawDevPath()
834 if (as_MFB(paint.getMaskFilter())->filterPath(devPath, *fMatrix, *fRC, blitter, style)) { in drawDevPath()
DSkSpriteBlitter_ARGB32.cpp101 if (paint.getMaskFilter() != nullptr) { in ChooseL32()
/external/skia/src/gpu/
DSkGpuDevice.cpp382 if (!isHairline || paint.getPathEffect() || paint.getMaskFilter() || aa == GrAA::kYes) {
428 if (paint.getMaskFilter() || paint.getPathEffect()) {
480 SkMaskFilterBase* mf = as_MFB(paint.getMaskFilter());
538 if (stroke.isFillStyle() && !paint.getMaskFilter() && !paint.getPathEffect()) {
577 if (paint.getMaskFilter()) {
599 if (paint.getMaskFilter()) {
620 if (paint.getMaskFilter()) {
648 if (!paint.getMaskFilter()) {
/external/skqp/src/gpu/
DSkGpuDevice.cpp339 if (!isHairline || paint.getPathEffect() || paint.getMaskFilter() || paint.isAntiAlias()) { in drawPoints()
387 if (paint.getMaskFilter() || paint.getPathEffect()) { in drawRect()
431 SkMaskFilterBase* mf = as_MFB(paint.getMaskFilter()); in drawRRect()
475 if (stroke.isFillStyle() && !paint.getMaskFilter() && !paint.getPathEffect()) { in drawDRRect()
505 if (paint.getMaskFilter()) { in drawRegion()
526 if (paint.getMaskFilter()) { in drawOval()
546 if (paint.getMaskFilter()) { in drawArc()
573 SkASSERT(!origPaint.getMaskFilter()); in drawStrokedLine()
621 !paint.getMaskFilter() && SkPaint::kRound_Cap != paint.getStrokeCap() && in drawPath()
635 if (!paint.getMaskFilter()) { in drawPath()
[all …]
DSkGpuDevice_drawTexture.cpp95 return (!paint.getColorFilter() && !paint.getShader() && !paint.getMaskFilter() && in can_use_draw_texture()
242 const SkMaskFilter* mf = paint.getMaskFilter(); in drawTextureProducerImpl()
/external/skqp/include/core/
DSkPaint.h506 SkMaskFilter* getMaskFilter() const { return fMaskFilter.get(); } in getMaskFilter() function
634 effects |= reinterpret_cast<uintptr_t>(this->getMaskFilter()); in computeFastBounds()
/external/skia/include/core/
DSkPaint.h548 SkMaskFilter* getMaskFilter() const { return fMaskFilter.get(); } in getMaskFilter() function
653 effects |= reinterpret_cast<uintptr_t>(this->getMaskFilter()); in computeFastBounds()
/external/skia/src/pdf/
DSkPDFDevice.cpp497 SkASSERT(origPaint.getMaskFilter()); in internalDrawPathWithFilter()
508 if (!SkDraw::DrawToMask(path, &bounds, paint->getMaskFilter(), &SkMatrix::I(), in internalDrawPathWithFilter()
516 if (!as_MFB(paint->getMaskFilter())->filterMask(&dstMask, sourceMask, ctm, &margin)) { in internalDrawPathWithFilter()
570 if (paint->getMaskFilter()) { in internalDrawPath()
814 || runPaint.getMaskFilter() in internalDrawGlyphRun()
1145 NOT_IMPLEMENTED(paint.getMaskFilter() != nullptr, false); in populate_graphic_state_entry_from_paint()
1520 if (paint->getMaskFilter()) { in internalDrawImageRect()
1523 tmpPaint.setMaskFilter(sk_ref_sp(paint->getMaskFilter())); in internalDrawImageRect()
1549 if (paint->getMaskFilter()) { in internalDrawImageRect()
1679 SkASSERT(!paint.getMaskFilter()); in drawDevice()
[all …]
/external/skia/tools/
Dblob_cache_sim.cpp34 && paint.getMaskFilter() == nullptr; in main()
/external/skqp/src/pdf/
DSkPDFDevice.cpp681 if (paint.getPathEffect() || paint.getMaskFilter() || this->ctm().hasPerspective()) { in drawRect()
730 SkASSERT(origPaint.getMaskFilter()); in internalDrawPathWithFilter()
741 if (!SkDraw::DrawToMask(path, &bounds, paint->getMaskFilter(), &SkMatrix::I(), in internalDrawPathWithFilter()
749 if (!as_MFB(paint->getMaskFilter())->filterMask(&dstMask, sourceMask, ctm, &margin)) { in internalDrawPathWithFilter()
810 if (paint.getMaskFilter()) { in internalDrawPath()
1079 || runPaint.getMaskFilter() in internalDrawGlyphRun()
1498 NOT_IMPLEMENTED(paint.getMaskFilter() != nullptr, false); in populate_graphic_state_entry_from_paint()
1864 if (paint.getMaskFilter()) { in internalDrawImageRect()
1871 tmpPaint.setMaskFilter(sk_ref_sp(paint.getMaskFilter())); in internalDrawImageRect()
1895 if (paint.getMaskFilter()) { in internalDrawImageRect()
/external/skia/src/gpu/text/
DGrSDFTControl.cpp61 if (!fAbleToUseSDFT || paint.getMaskFilter() || paint.getStyle() != SkPaint::kFill_Style) { in drawingType()

123