Searched refs:dstM (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 536 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 539 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha() 560 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 563 SkAutoMaskFreeImage dstCleanup(dstM.fImage); in extractAlpha() 565 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha() 566 dstM.fRowBytes); in extractAlpha() 573 memcpy(tmpBitmap.getPixels(), dstM in extractAlpha() [all...] |
H A D | SkMaskFilter.cpp | 261 SkMask srcM, dstM; in filterPath() local 275 if (!this->filterMask(&dstM, srcM, matrix, nullptr)) { in filterPath() 278 SkAutoMaskFreeImage autoDst(dstM.fImage); in filterPath() 284 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath() 289 blitter->blitMask(dstM, cr); in filterPath() 371 SkMask srcM, dstM; in computeFastBounds() local 378 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds() 379 dst->set(dstM.fBounds); in computeFastBounds()
|
H A D | SkColorSpaceXformSteps.cpp | 57 skcms_Matrix3x3 srcM, dstM; in SkColorSpaceXformSteps() local 59 dst->toXYZD50(&dstM); in SkColorSpaceXformSteps() 60 SkASSERT(0 == memcmp(&srcM, &dstM, 9*sizeof(float)) && "Hash collision"); in SkColorSpaceXformSteps()
|
H A D | SkBlurMF.cpp | 97 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix, 99 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix, 335 SkMask srcM, dstM; in filterRRectToNine() local 344 filterResult = this->filterRRectMask(&dstM, rrect, matrix, &margin, in filterRRectToNine() 349 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine() 421 patch->fOuterRect = dstM.fBounds; in filterRRectToNine() 454 SkMask srcM, dstM; in filterRectsToNine() local 463 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin, in filterRectsToNine() 466 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRectsToNine() 485 * with our outer-rect (dstM in filterRectsToNine() [all...] |
H A D | SkDraw.cpp | 710 SkMask dstM; in drawDevMask() local 713 ->filterMask(&dstM, srcM, fMatrixProvider->localToDevice(), nullptr)) { in drawDevMask() 714 mask = &dstM; in drawDevMask() 716 SkAutoMaskFreeImage ami(dstM.fImage); in drawDevMask() 1217 SkMask srcM, dstM; in ComputeMaskBounds() local 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 145 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_create_filtered_mask() 148 // this will free-up dstM when we're done (allocated in filterMask()) in sw_create_filtered_mask() 149 SkAutoMaskFreeImage autoDst(dstM.fImage); in sw_create_filtered_mask() 151 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) { in sw_create_filtered_mask() 155 // we now have a device-aligned 8bit mask in dstM, ready to be drawn using in sw_create_filtered_mask() 158 if (!bm.installPixels(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in sw_create_filtered_mask() 159 autoDst.release(), dstM.fRowBytes, mask_release_proc, nullptr)) { in sw_create_filtered_mask() 175 *drawRect = dstM in sw_create_filtered_mask() [all...] |
Completed in 8 milliseconds