/external/skia/src/gpu/ |
H A D | GrBlurUtils.cpp | 61 SkMask srcM, dstM; local 68 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { 71 // this will free-up dstM when we're done (allocated in filterMask()) 72 SkAutoMaskFreeImage autoDst(dstM.fImage); 74 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) { 78 // we now have a device-aligned 8bit mask in dstM, ready to be drawn using 82 desc.fWidth = dstM.fBounds.width(); 83 desc.fHeight = dstM.fBounds.height(); 96 if (!sContext->writePixels(ii, dstM.fImage, dstM [all...] |
/external/skqp/src/gpu/ |
H A D | GrBlurUtils.cpp | 61 SkMask srcM, dstM; local 68 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { 71 // this will free-up dstM when we're done (allocated in filterMask()) 72 SkAutoMaskFreeImage autoDst(dstM.fImage); 74 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) { 78 // we now have a device-aligned 8bit mask in dstM, ready to be drawn using 82 desc.fWidth = dstM.fBounds.width(); 83 desc.fHeight = dstM.fBounds.height(); 96 if (!sContext->writePixels(ii, dstM.fImage, dstM [all...] |
/external/skia/src/core/ |
H A D | SkBitmap.cpp | 537 SkMask srcM, dstM; local 548 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { 551 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); 572 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { 575 SkAutoMaskFreeImage dstCleanup(dstM.fImage); 577 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), 578 dstM.fRowBytes); 585 memcpy(tmpBitmap.getPixels(), dstM [all...] |
H A D | SkScalerContext.cpp | 483 SkMask srcM, dstM; local 505 if (as_MFB(fMaskFilter)->filterMask(&dstM, srcM, matrix, nullptr)) { 506 int width = SkFastMin32(origGlyph.fWidth, dstM.fBounds.width()); 507 int height = SkFastMin32(origGlyph.fHeight, dstM.fBounds.height()); 509 int srcRB = dstM.fRowBytes; 511 const uint8_t* src = (const uint8_t*)dstM.fImage; 514 if (SkMask::k3D_Format == dstM.fFormat) { 519 // clean out our glyph, since it may be larger than dstM 527 SkMask::FreeImage(dstM.fImage);
|
H A D | SkMaskFilter.cpp | 265 SkMask srcM, dstM; local 274 if (!this->filterMask(&dstM, srcM, matrix, nullptr)) { 277 SkAutoMaskFreeImage autoDst(dstM.fImage); 283 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); 288 blitter->blitMask(dstM, cr); 366 SkMask srcM, dstM; local 373 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { 374 dst->set(dstM.fBounds); 586 SkMask srcM, dstM; local 591 if (!as_MFB(fDst)->filterMask(&dstM, sr [all...] |
H A D | SkDraw.cpp | 848 SkMask dstM; local 850 as_MFB(paint.getMaskFilter())->filterMask(&dstM, srcM, *fMatrix, nullptr)) { 851 mask = &dstM; 853 SkAutoMaskFreeImage ami(dstM.fImage); 1686 SkMask srcM, dstM; local 1690 if (!as_MFB(filter)->filterMask(&dstM, srcM, *filterMatrix, &margin)) {
|
/external/skqp/src/core/ |
H A D | SkBitmap.cpp | 536 SkMask srcM, dstM; local 547 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { 550 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); 571 if (!as_MFB(filter)->filterMask(&dstM, srcM, identity, nullptr)) { 574 SkAutoMaskFreeImage dstCleanup(dstM.fImage); 576 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), 577 dstM.fRowBytes); 584 memcpy(tmpBitmap.getPixels(), dstM [all...] |
H A D | SkMaskFilter.cpp | 264 SkMask srcM, dstM; local 273 if (!this->filterMask(&dstM, srcM, matrix, nullptr)) { 276 SkAutoMaskFreeImage autoDst(dstM.fImage); 282 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); 287 blitter->blitMask(dstM, cr); 366 SkMask srcM, dstM; local 373 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { 374 dst->set(dstM.fBounds); 551 SkMask srcM, dstM; local 556 if (!as_MFB(fDst)->filterMask(&dstM, sr [all...] |
H A D | SkScalerContext.cpp | 489 SkMask srcM, dstM; local 511 if (as_MFB(fMaskFilter)->filterMask(&dstM, srcM, matrix, nullptr)) { 512 int width = SkFastMin32(origGlyph.fWidth, dstM.fBounds.width()); 513 int height = SkFastMin32(origGlyph.fHeight, dstM.fBounds.height()); 515 int srcRB = dstM.fRowBytes; 517 const uint8_t* src = (const uint8_t*)dstM.fImage; 520 if (SkMask::k3D_Format == dstM.fFormat) { 525 // clean out our glyph, since it may be larger than dstM 533 SkMask::FreeImage(dstM.fImage);
|
H A D | SkDraw.cpp | 843 SkMask dstM; local 845 as_MFB(paint.getMaskFilter())->filterMask(&dstM, srcM, *fMatrix, nullptr)) { 846 mask = &dstM; 848 SkAutoMaskFreeImage ami(dstM.fImage); 1659 SkMask srcM, dstM; local 1663 if (!as_MFB(filter)->filterMask(&dstM, srcM, *filterMatrix, &margin)) {
|
/external/swiftshader/third_party/LLVM/lib/Linker/ |
H A D | LinkModules.cpp | 347 ModuleLinker(Module *dstM, Module *srcM, unsigned mode) argument 348 : DstM(dstM), SrcM(srcM), Mode(mode) { }
|
/external/skia/src/effects/ |
H A D | SkBlurMaskFilter.cpp | 95 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix, 97 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix, 503 SkMask srcM, dstM; local 512 filterResult = this->filterRRectMask(&dstM, rrect, matrix, &margin, 517 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); 590 patch->fOuterRect = dstM.fBounds; 623 SkMask srcM, dstM; local 632 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin, 635 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); 654 * with our outer-rect (dstM [all...] |
/external/skqp/src/effects/ |
H A D | SkBlurMaskFilter.cpp | 94 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix, 96 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix, 502 SkMask srcM, dstM; local 511 filterResult = this->filterRRectMask(&dstM, rrect, matrix, &margin, 516 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); 589 patch->fOuterRect = dstM.fBounds; 622 SkMask srcM, dstM; local 631 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin, 634 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); 653 * with our outer-rect (dstM [all...] |