Searched refs:srcM (Results 1 - 6 of 6) sorted by relevance
/third_party/skia/src/core/ |
H A 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 in extractAlpha() [all...] |
H A 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() 371 SkMask srcM, dstM; in computeFastBounds() local 373 srcM.fBounds = src.roundOut(); in computeFastBounds() 374 srcM.fRowBytes = 0; in computeFastBounds() 375 srcM.fFormat = SkMask::kA8_Format; in computeFastBounds() 378 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds() 381 dst->set(srcM in computeFastBounds() [all...] |
H A D | SkBlurMF.cpp | 335 SkMask srcM, dstM; in filterRRectToNine() local 336 srcM.fBounds = rrect.rect().roundOut(); in filterRRectToNine() 337 srcM.fFormat = SkMask::kA8_Format; in filterRRectToNine() 338 srcM.fRowBytes = 0; in filterRRectToNine() 349 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine() 407 if (!draw_rrect_into_mask(smallRR, &srcM)) { in filterRRectToNine() 411 SkAutoMaskFreeImage amf(srcM.fImage); in filterRRectToNine() 413 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine() 454 SkMask srcM, dstM; in filterRectsToNine() local 455 srcM in filterRectsToNine() [all...] |
H A 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()
|
H A 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/ |
H A D | GrBlurUtils.cpp | 136 SkMask srcM, dstM; in sw_create_filtered_mask() local 137 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_create_filtered_mask() 141 SkAutoMaskFreeImage autoSrc(srcM.fImage); in sw_create_filtered_mask() 143 SkASSERT(SkMask::kA8_Format == srcM.fFormat); in sw_create_filtered_mask() 145 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_create_filtered_mask()
|
Completed in 9 milliseconds