/external/skqp/src/core/ |
D | SkBitmap.cpp | 512 SkMask srcM, dstM; in extractAlpha() local 526 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 529 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha() 550 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 553 SkAutoMaskFreeImage dstCleanup(dstM.fImage); in extractAlpha() 555 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha() 556 dstM.fRowBytes); in extractAlpha() 563 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha() 565 offset->set(dstM.fBounds.fLeft, dstM.fBounds.fTop); in extractAlpha()
|
D | SkMaskFilter.cpp | 262 SkMask srcM, dstM; in filterPath() local 271 if (!this->filterMask(&dstM, srcM, matrix, nullptr)) { in filterPath() 274 SkAutoMaskFreeImage autoDst(dstM.fImage); in filterPath() 280 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath() 285 blitter->blitMask(dstM, cr); in filterPath() 352 SkMask srcM, dstM; in computeFastBounds() local 359 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds() 360 dst->set(dstM.fBounds); in computeFastBounds() 565 SkMask srcM, dstM; in filterMask() local 570 if (!as_MFB(fDst)->filterMask(&dstM, src, ctm, &dstP)) { in filterMask() [all …]
|
D | SkBlurMF.cpp | 83 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix, 85 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix, 464 SkMask srcM, dstM; in filterRRectToNine() local 473 filterResult = this->filterRRectMask(&dstM, rrect, matrix, &margin, in filterRRectToNine() 478 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine() 550 patch->fOuterRect = dstM.fBounds; in filterRRectToNine() 583 SkMask srcM, dstM; in filterRectsToNine() local 592 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin, in filterRectsToNine() 595 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRectsToNine() 620 int smallW = dstM.fBounds.width() - srcM.fBounds.width() + 2; in filterRectsToNine() [all …]
|
D | SkColorSpaceXformSteps.cpp | 56 skcms_Matrix3x3 srcM, dstM; in SkColorSpaceXformSteps() local 58 dst->toXYZD50(&dstM); in SkColorSpaceXformSteps() 59 SkASSERT(0 == memcmp(&srcM, &dstM, 9*sizeof(float)) && "Hash collision"); in SkColorSpaceXformSteps()
|
D | SkScalerContext.cpp | 507 SkMask srcM, dstM; in getImage() local 517 if (as_MFB(fMaskFilter)->filterMask(&dstM, srcM, matrix, nullptr)) { in getImage() 518 int width = SkMin32(origGlyph.fWidth, dstM.fBounds.width()); in getImage() 519 int height = SkMin32(origGlyph.fHeight, dstM.fBounds.height()); in getImage() 521 int srcRB = dstM.fRowBytes; in getImage() 523 const uint8_t* src = (const uint8_t*)dstM.fImage; in getImage() 526 if (SkMask::k3D_Format == dstM.fFormat) { in getImage() 539 SkMask::FreeImage(dstM.fImage); in getImage() 541 if (SkMask::kA8_Format == dstM.fFormat && fPreBlendForFilter.isApplicable()) { in getImage()
|
D | SkDraw.cpp | 708 SkMask dstM; in drawDevMask() local 710 as_MFB(paint.getMaskFilter())->filterMask(&dstM, srcM, *fMatrix, nullptr)) { in drawDevMask() 711 mask = &dstM; in drawDevMask() 713 SkAutoMaskFreeImage ami(dstM.fImage); in drawDevMask() 1214 SkMask srcM, dstM; in ComputeMaskBounds() local 1218 if (!as_MFB(filter)->filterMask(&dstM, srcM, *filterMatrix, &margin)) { in ComputeMaskBounds()
|
/external/skia/src/gpu/ |
D | GrBlurUtils.cpp | 92 SkMask srcM, dstM; in sw_draw_with_mask_filter() local 100 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter() 108 drawRect = dstM.fBounds; in sw_draw_with_mask_filter() 118 SkMask srcM, dstM; in sw_draw_with_mask_filter() local 127 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter() 131 SkAutoMaskFreeImage autoDst(dstM.fImage); in sw_draw_with_mask_filter() 133 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) { in sw_draw_with_mask_filter() 140 if (!bm.installPixels(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in sw_draw_with_mask_filter() 141 autoDst.release(), dstM.fRowBytes, mask_release_proc, nullptr)) { in sw_draw_with_mask_filter() 161 drawRect = dstM.fBounds; in sw_draw_with_mask_filter()
|
/external/skqp/src/gpu/ |
D | GrBlurUtils.cpp | 92 SkMask srcM, dstM; in sw_draw_with_mask_filter() local 100 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter() 108 drawRect = dstM.fBounds; in sw_draw_with_mask_filter() 118 SkMask srcM, dstM; in sw_draw_with_mask_filter() local 127 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter() 131 SkAutoMaskFreeImage autoDst(dstM.fImage); in sw_draw_with_mask_filter() 133 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) { in sw_draw_with_mask_filter() 140 if (!bm.installPixels(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in sw_draw_with_mask_filter() 141 autoDst.release(), dstM.fRowBytes, mask_release_proc, nullptr)) { in sw_draw_with_mask_filter() 161 drawRect = dstM.fBounds; in sw_draw_with_mask_filter()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 544 SkMask srcM, dstM; in extractAlpha() local 558 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 561 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha() 582 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 585 SkAutoMaskFreeImage dstCleanup(dstM.fImage); in extractAlpha() 587 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha() 588 dstM.fRowBytes); in extractAlpha() 595 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha() 597 offset->set(dstM.fBounds.fLeft, dstM.fBounds.fTop); in extractAlpha()
|
D | SkMaskFilter.cpp | 262 SkMask srcM, dstM; in filterPath() local 271 if (!this->filterMask(&dstM, srcM, matrix, nullptr)) { in filterPath() 274 SkAutoMaskFreeImage autoDst(dstM.fImage); in filterPath() 280 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath() 285 blitter->blitMask(dstM, cr); in filterPath() 352 SkMask srcM, dstM; in computeFastBounds() local 359 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds() 360 dst->set(dstM.fBounds); in computeFastBounds() 565 SkMask srcM, dstM; in filterMask() local 570 if (!as_MFB(fDst)->filterMask(&dstM, src, ctm, &dstP)) { in filterMask() [all …]
|
D | SkBlurMF.cpp | 83 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix, 85 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix, 464 SkMask srcM, dstM; in filterRRectToNine() local 473 filterResult = this->filterRRectMask(&dstM, rrect, matrix, &margin, in filterRRectToNine() 478 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine() 550 patch->fOuterRect = dstM.fBounds; in filterRRectToNine() 583 SkMask srcM, dstM; in filterRectsToNine() local 592 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin, in filterRectsToNine() 595 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRectsToNine() 620 int smallW = dstM.fBounds.width() - srcM.fBounds.width() + 2; in filterRectsToNine() [all …]
|
D | SkColorSpaceXformSteps.cpp | 56 skcms_Matrix3x3 srcM, dstM; in SkColorSpaceXformSteps() local 58 dst->toXYZD50(&dstM); in SkColorSpaceXformSteps() 59 SkASSERT(0 == memcmp(&srcM, &dstM, 9*sizeof(float)) && "Hash collision"); in SkColorSpaceXformSteps()
|
D | SkScalerContext.cpp | 539 SkMask srcM, dstM; in getImage() local 549 if (as_MFB(fMaskFilter)->filterMask(&dstM, srcM, matrix, nullptr)) { in getImage() 550 int width = SkMin32(origGlyph.fWidth, dstM.fBounds.width()); in getImage() 551 int height = SkMin32(origGlyph.fHeight, dstM.fBounds.height()); in getImage() 553 int srcRB = dstM.fRowBytes; in getImage() 555 const uint8_t* src = (const uint8_t*)dstM.fImage; in getImage() 558 if (SkMask::k3D_Format == dstM.fFormat) { in getImage() 571 SkMask::FreeImage(dstM.fImage); in getImage()
|
D | SkDraw.cpp | 708 SkMask dstM; in drawDevMask() local 710 as_MFB(paint.getMaskFilter())->filterMask(&dstM, srcM, *fMatrix, nullptr)) { in drawDevMask() 711 mask = &dstM; in drawDevMask() 713 SkAutoMaskFreeImage ami(dstM.fImage); in drawDevMask() 1214 SkMask srcM, dstM; in ComputeMaskBounds() local 1218 if (!as_MFB(filter)->filterMask(&dstM, srcM, *filterMatrix, &margin)) { in ComputeMaskBounds()
|
/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()
|