Searched refs:srcM (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/src/core/ |
D | SkBitmap.cpp | 522 SkMask srcM, dstM; in extractAlpha() local 527 srcM.fBounds.setWH(this->width(), this->height()); in extractAlpha() 528 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha() 529 srcM.fFormat = SkMask::kA8_Format; in extractAlpha() 536 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 542 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 549 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha() 556 srcM.fImage = SkMask::AllocImage(srcM.computeImageSize()); in extractAlpha() 557 SkAutoMaskFreeImage srcCleanup(srcM.fImage); in extractAlpha() 559 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha() [all …]
|
D | SkMaskFilter.cpp | 261 SkMask srcM, dstM; in filterPath() local 268 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath() 273 SkAutoMaskFreeImage autoSrc(srcM.fImage); in filterPath() 275 if (!this->filterMask(&dstM, srcM, matrix, nullptr)) { in filterPath() 358 SkMask srcM, dstM; in computeFastBounds() local 360 srcM.fBounds = src.roundOut(); in computeFastBounds() 361 srcM.fRowBytes = 0; in computeFastBounds() 362 srcM.fFormat = SkMask::kA8_Format; in computeFastBounds() 365 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds() 368 dst->set(srcM.fBounds); in computeFastBounds()
|
D | SkBlurMF.cpp | 327 SkMask srcM, dstM; in filterRRectToNine() local 328 srcM.fBounds = rrect.rect().roundOut(); in filterRRectToNine() 329 srcM.fFormat = SkMask::kA8_Format; in filterRRectToNine() 330 srcM.fRowBytes = 0; in filterRRectToNine() 341 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine() 399 if (!draw_rrect_into_mask(smallRR, &srcM)) { in filterRRectToNine() 403 SkAutoMaskFreeImage amf(srcM.fImage); in filterRRectToNine() 405 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine() 446 SkMask srcM, dstM; in filterRectsToNine() local 447 srcM.fBounds = rects[0].roundOut(); in filterRectsToNine() [all …]
|
D | SkColorSpaceXformSteps.cpp | 57 skcms_Matrix3x3 srcM, dstM; in SkColorSpaceXformSteps() local 58 src->toXYZD50(&srcM); in SkColorSpaceXformSteps() 60 SkASSERT(0 == memcmp(&srcM, &dstM, 9*sizeof(float)) && "Hash collision"); in SkColorSpaceXformSteps()
|
D | SkDraw.cpp | 703 void SkDraw::drawDevMask(const SkMask& srcM, const SkPaint& paint) const { in drawDevMask() argument 704 if (srcM.fBounds.isEmpty()) { in drawDevMask() 708 const SkMask* mask = &srcM; in drawDevMask() 713 ->filterMask(&dstM, srcM, fMatrixProvider->localToDevice(), nullptr)) { in drawDevMask() 1217 SkMask srcM, dstM; in ComputeMaskBounds() local 1219 srcM.fBounds = *bounds; in ComputeMaskBounds() 1220 srcM.fFormat = SkMask::kA8_Format; in ComputeMaskBounds() 1221 if (!as_MFB(filter)->filterMask(&dstM, srcM, *filterMatrix, &margin)) { in ComputeMaskBounds()
|
/third_party/skia/src/gpu/ |
D | GrBlurUtils.cpp | 135 SkMask srcM, dstM; in sw_create_filtered_mask() local 136 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_create_filtered_mask() 140 SkAutoMaskFreeImage autoSrc(srcM.fImage); in sw_create_filtered_mask() 142 SkASSERT(SkMask::kA8_Format == srcM.fFormat); in sw_create_filtered_mask() 144 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_create_filtered_mask()
|