Home
last modified time | relevance | path

Searched refs:dstM (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/
DGrBlurUtils.cpp67 SkMask srcM, dstM; in sw_draw_with_mask_filter() local
74 if (!filter->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter()
78 SkAutoMaskFreeImage autoDst(dstM.fImage); in sw_draw_with_mask_filter()
80 if (clip_bounds_quick_reject(clipBounds, dstM.fBounds)) { in sw_draw_with_mask_filter()
88 desc.fWidth = dstM.fBounds.width(); in sw_draw_with_mask_filter()
89 desc.fHeight = dstM.fBounds.height(); in sw_draw_with_mask_filter()
101 if (!sContext->writePixels(ii, dstM.fImage, dstM.fRowBytes, 0, 0)) { in sw_draw_with_mask_filter()
106 dstM.fBounds, std::move(paint), sContext->asTextureProxyRef()); in sw_draw_with_mask_filter()
/external/skia/src/core/
DSkMaskFilter.cpp262 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()
347 SkMask srcM, dstM; in computeFastBounds() local
354 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds()
355 dst->set(dstM.fBounds); in computeFastBounds()
DSkBitmap.cpp872 SkMask srcM, dstM; in extractAlpha() local
883 if (!filter->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha()
886 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
907 if (!filter->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha()
910 SkAutoMaskFreeImage dstCleanup(dstM.fImage); in extractAlpha()
912 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha()
913 dstM.fRowBytes); in extractAlpha()
920 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha()
922 offset->set(dstM.fBounds.fLeft, dstM.fBounds.fTop); in extractAlpha()
DSkRasterizer.cpp22 SkMask srcM, dstM; in rasterize() local
26 if (!filter->filterMask(&dstM, srcM, matrix, &margin)) { in rasterize()
DSkScalerContext.cpp515 SkMask srcM, dstM; in getImage() local
537 if (fMaskFilter->filterMask(&dstM, srcM, matrix, nullptr)) { in getImage()
538 int width = SkFastMin32(origGlyph.fWidth, dstM.fBounds.width()); in getImage()
539 int height = SkFastMin32(origGlyph.fHeight, dstM.fBounds.height()); in getImage()
541 int srcRB = dstM.fRowBytes; in getImage()
543 const uint8_t* src = (const uint8_t*)dstM.fImage; in getImage()
546 if (SkMask::k3D_Format == dstM.fFormat) { in getImage()
559 SkMask::FreeImage(dstM.fImage); in getImage()
DSkDraw.cpp877 SkMask dstM; in drawDevMask() local
879 paint.getMaskFilter()->filterMask(&dstM, srcM, *fMatrix, nullptr)) { in drawDevMask()
880 mask = &dstM; in drawDevMask()
882 SkAutoMaskFreeImage ami(dstM.fImage); in drawDevMask()
2104 SkMask srcM, dstM; in compute_bounds() local
2108 if (!filter->filterMask(&dstM, srcM, *filterMatrix, &margin)) { in compute_bounds()
/external/skia/src/effects/
DSkBlurMaskFilter.cpp90 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix,
92 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix,
501 SkMask srcM, dstM; in filterRRectToNine() local
510 filterResult = this->filterRRectMask(&dstM, rrect, matrix, &margin, in filterRRectToNine()
515 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine()
588 patch->fOuterRect = dstM.fBounds; in filterRRectToNine()
621 SkMask srcM, dstM; in filterRectsToNine() local
630 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin, in filterRectsToNine()
633 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRectsToNine()
658 int smallW = dstM.fBounds.width() - srcM.fBounds.width() + 2; in filterRectsToNine()
[all …]
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp347 ModuleLinker(Module *dstM, Module *srcM, unsigned mode) in ModuleLinker() argument
348 : DstM(dstM), SrcM(srcM), Mode(mode) { } in ModuleLinker()