/external/skqp/src/core/ |
D | SkBitmap.cpp | 512 SkMask srcM, dstM; in extractAlpha() local 517 srcM.fBounds.set(0, 0, this->width(), this->height()); in extractAlpha() 518 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha() 519 srcM.fFormat = SkMask::kA8_Format; in extractAlpha() 526 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 532 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 539 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha() 546 srcM.fImage = SkMask::AllocImage(srcM.computeImageSize()); in extractAlpha() 547 SkAutoMaskFreeImage srcCleanup(srcM.fImage); in extractAlpha() 549 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha() [all …]
|
D | SkBlurMF.cpp | 464 SkMask srcM, dstM; in filterRRectToNine() local 465 srcM.fBounds = rrect.rect().roundOut(); in filterRRectToNine() 466 srcM.fFormat = SkMask::kA8_Format; in filterRRectToNine() 467 srcM.fRowBytes = 0; in filterRRectToNine() 478 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine() 536 if (!draw_rrect_into_mask(smallRR, &srcM)) { in filterRRectToNine() 540 SkAutoMaskFreeImage amf(srcM.fImage); in filterRRectToNine() 542 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine() 583 SkMask srcM, dstM; in filterRectsToNine() local 584 srcM.fBounds = rects[0].roundOut(); in filterRectsToNine() [all …]
|
D | SkMaskFilter.cpp | 262 SkMask srcM, dstM; in filterPath() local 264 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath() 269 SkAutoMaskFreeImage autoSrc(srcM.fImage); in filterPath() 271 if (!this->filterMask(&dstM, srcM, matrix, nullptr)) { in filterPath() 352 SkMask srcM, dstM; in computeFastBounds() local 354 srcM.fBounds = src.roundOut(); in computeFastBounds() 355 srcM.fRowBytes = 0; in computeFastBounds() 356 srcM.fFormat = SkMask::kA8_Format; in computeFastBounds() 359 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds() 362 dst->set(srcM.fBounds); in computeFastBounds() [all …]
|
D | SkColorSpaceXformSteps.cpp | 56 skcms_Matrix3x3 srcM, dstM; in SkColorSpaceXformSteps() local 57 src->toXYZD50(&srcM); in SkColorSpaceXformSteps() 59 SkASSERT(0 == memcmp(&srcM, &dstM, 9*sizeof(float)) && "Hash collision"); in SkColorSpaceXformSteps()
|
D | SkDraw.cpp | 701 void SkDraw::drawDevMask(const SkMask& srcM, const SkPaint& paint) const { in drawDevMask() argument 702 if (srcM.fBounds.isEmpty()) { in drawDevMask() 706 const SkMask* mask = &srcM; in drawDevMask() 710 as_MFB(paint.getMaskFilter())->filterMask(&dstM, srcM, *fMatrix, nullptr)) { in drawDevMask() 1214 SkMask srcM, dstM; in ComputeMaskBounds() local 1216 srcM.fBounds = *bounds; in ComputeMaskBounds() 1217 srcM.fFormat = SkMask::kA8_Format; in ComputeMaskBounds() 1218 if (!as_MFB(filter)->filterMask(&dstM, srcM, *filterMatrix, &margin)) { in ComputeMaskBounds()
|
D | SkScalerContext.cpp | 507 SkMask srcM, dstM; in getImage() local 513 glyph->toMask(&srcM); in getImage() 517 if (as_MFB(fMaskFilter)->filterMask(&dstM, srcM, matrix, nullptr)) { in getImage() 542 applyLUTToA8Mask(srcM, fPreBlendForFilter.fG); in getImage()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 544 SkMask srcM, dstM; in extractAlpha() local 549 srcM.fBounds.set(0, 0, this->width(), this->height()); in extractAlpha() 550 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha() 551 srcM.fFormat = SkMask::kA8_Format; in extractAlpha() 558 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 564 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 571 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha() 578 srcM.fImage = SkMask::AllocImage(srcM.computeImageSize()); in extractAlpha() 579 SkAutoMaskFreeImage srcCleanup(srcM.fImage); in extractAlpha() 581 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha() [all …]
|
D | SkBlurMF.cpp | 464 SkMask srcM, dstM; in filterRRectToNine() local 465 srcM.fBounds = rrect.rect().roundOut(); in filterRRectToNine() 466 srcM.fFormat = SkMask::kA8_Format; in filterRRectToNine() 467 srcM.fRowBytes = 0; in filterRRectToNine() 478 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine() 536 if (!draw_rrect_into_mask(smallRR, &srcM)) { in filterRRectToNine() 540 SkAutoMaskFreeImage amf(srcM.fImage); in filterRRectToNine() 542 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine() 583 SkMask srcM, dstM; in filterRectsToNine() local 584 srcM.fBounds = rects[0].roundOut(); in filterRectsToNine() [all …]
|
D | SkMaskFilter.cpp | 262 SkMask srcM, dstM; in filterPath() local 264 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath() 269 SkAutoMaskFreeImage autoSrc(srcM.fImage); in filterPath() 271 if (!this->filterMask(&dstM, srcM, matrix, nullptr)) { in filterPath() 352 SkMask srcM, dstM; in computeFastBounds() local 354 srcM.fBounds = src.roundOut(); in computeFastBounds() 355 srcM.fRowBytes = 0; in computeFastBounds() 356 srcM.fFormat = SkMask::kA8_Format; in computeFastBounds() 359 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds() 362 dst->set(srcM.fBounds); in computeFastBounds() [all …]
|
D | SkColorSpaceXformSteps.cpp | 56 skcms_Matrix3x3 srcM, dstM; in SkColorSpaceXformSteps() local 57 src->toXYZD50(&srcM); in SkColorSpaceXformSteps() 59 SkASSERT(0 == memcmp(&srcM, &dstM, 9*sizeof(float)) && "Hash collision"); in SkColorSpaceXformSteps()
|
D | SkDraw.cpp | 701 void SkDraw::drawDevMask(const SkMask& srcM, const SkPaint& paint) const { in drawDevMask() argument 702 if (srcM.fBounds.isEmpty()) { in drawDevMask() 706 const SkMask* mask = &srcM; in drawDevMask() 710 as_MFB(paint.getMaskFilter())->filterMask(&dstM, srcM, *fMatrix, nullptr)) { in drawDevMask() 1214 SkMask srcM, dstM; in ComputeMaskBounds() local 1216 srcM.fBounds = *bounds; in ComputeMaskBounds() 1217 srcM.fFormat = SkMask::kA8_Format; in ComputeMaskBounds() 1218 if (!as_MFB(filter)->filterMask(&dstM, srcM, *filterMatrix, &margin)) { in ComputeMaskBounds()
|
D | SkScalerContext.cpp | 539 SkMask srcM, dstM; in getImage() local 545 glyph->toMask(&srcM); in getImage() 549 if (as_MFB(fMaskFilter)->filterMask(&dstM, srcM, matrix, nullptr)) { in getImage()
|
/external/skia/src/gpu/ |
D | GrBlurUtils.cpp | 92 SkMask srcM, dstM; in sw_draw_with_mask_filter() local 94 &srcM.fBounds)) { in sw_draw_with_mask_filter() 98 srcM.fFormat = SkMask::kA8_Format; in sw_draw_with_mask_filter() 100 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter() 118 SkMask srcM, dstM; in sw_draw_with_mask_filter() local 119 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_draw_with_mask_filter() 123 SkAutoMaskFreeImage autoSrc(srcM.fImage); in sw_draw_with_mask_filter() 125 SkASSERT(SkMask::kA8_Format == srcM.fFormat); in sw_draw_with_mask_filter() 127 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter()
|
/external/skqp/src/gpu/ |
D | GrBlurUtils.cpp | 92 SkMask srcM, dstM; in sw_draw_with_mask_filter() local 94 &srcM.fBounds)) { in sw_draw_with_mask_filter() 98 srcM.fFormat = SkMask::kA8_Format; in sw_draw_with_mask_filter() 100 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter() 118 SkMask srcM, dstM; in sw_draw_with_mask_filter() local 119 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_draw_with_mask_filter() 123 SkAutoMaskFreeImage autoSrc(srcM.fImage); in sw_draw_with_mask_filter() 125 SkASSERT(SkMask::kA8_Format == srcM.fFormat); in sw_draw_with_mask_filter() 127 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter()
|
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkModules.cpp | 347 ModuleLinker(Module *dstM, Module *srcM, unsigned mode) in ModuleLinker() argument 348 : DstM(dstM), SrcM(srcM), Mode(mode) { } in ModuleLinker()
|