Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMaskFilter.cpp257 SkMask srcM, dstM; in filterPath() local
266 if (!this->filterMask(&dstM, srcM, matrix, NULL)) { in filterPath()
269 SkAutoMaskFreeImage autoDst(dstM.fImage); in filterPath()
275 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath()
280 blitter->blitMask(dstM, cr); in filterPath()
337 SkMask srcM, dstM; in computeFastBounds() local
345 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds()
346 dst->set(dstM.fBounds); in computeFastBounds()
DSkRasterizer.cpp22 SkMask srcM, dstM; in rasterize() local
27 if (!filter->filterMask(&dstM, srcM, matrix, &margin)) { in rasterize()
DSkBitmap.cpp1152 SkMask srcM, dstM; in extractAlpha() local
1164 if (!filter->filterMask(&dstM, srcM, identity, NULL)) { in extractAlpha()
1167 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
1188 if (!filter->filterMask(&dstM, srcM, identity, NULL)) { in extractAlpha()
1191 SkAutoMaskFreeImage dstCleanup(dstM.fImage); in extractAlpha()
1193 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha()
1194 dstM.fRowBytes); in extractAlpha()
1201 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha()
1203 offset->set(dstM.fBounds.fLeft, dstM.fBounds.fTop); in extractAlpha()
DSkScalerContext.cpp744 SkMask srcM, dstM; in getImage() local
766 if (fMaskFilter->filterMask(&dstM, srcM, matrix, NULL)) { in getImage()
767 int width = SkFastMin32(origGlyph.fWidth, dstM.fBounds.width()); in getImage()
768 int height = SkFastMin32(origGlyph.fHeight, dstM.fBounds.height()); in getImage()
770 int srcRB = dstM.fRowBytes; in getImage()
772 const uint8_t* src = (const uint8_t*)dstM.fImage; in getImage()
775 if (SkMask::k3D_Format == dstM.fFormat) { in getImage()
788 SkMask::FreeImage(dstM.fImage); in getImage()
DSkDraw.cpp875 SkMask dstM; in drawDevMask() local
877 paint.getMaskFilter()->filterMask(&dstM, srcM, *fMatrix, NULL)) { in drawDevMask()
878 mask = &dstM; in drawDevMask()
880 dstM.fImage = NULL; in drawDevMask()
882 SkAutoMaskFreeImage ami(dstM.fImage); in drawDevMask()
2295 SkMask srcM, dstM; in compute_bounds() local
2300 if (!filter->filterMask(&dstM, srcM, *filterMatrix, &margin)) { in compute_bounds()
/external/chromium_org/third_party/skia/src/core/
DSkMaskFilter.cpp257 SkMask srcM, dstM; in filterPath() local
266 if (!this->filterMask(&dstM, srcM, matrix, NULL)) { in filterPath()
269 SkAutoMaskFreeImage autoDst(dstM.fImage); in filterPath()
275 SkRegion::Cliperator clipper(wrapper.getRgn(), dstM.fBounds); in filterPath()
280 blitter->blitMask(dstM, cr); in filterPath()
337 SkMask srcM, dstM; in computeFastBounds() local
345 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds()
346 dst->set(dstM.fBounds); in computeFastBounds()
DSkRasterizer.cpp22 SkMask srcM, dstM; in rasterize() local
27 if (!filter->filterMask(&dstM, srcM, matrix, &margin)) { in rasterize()
DSkBitmap.cpp1097 SkMask srcM, dstM; in extractAlpha() local
1109 if (!filter->filterMask(&dstM, srcM, identity, NULL)) { in extractAlpha()
1112 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
1133 if (!filter->filterMask(&dstM, srcM, identity, NULL)) { in extractAlpha()
1136 SkAutoMaskFreeImage dstCleanup(dstM.fImage); in extractAlpha()
1138 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha()
1139 dstM.fRowBytes); in extractAlpha()
1146 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha()
1148 offset->set(dstM.fBounds.fLeft, dstM.fBounds.fTop); in extractAlpha()
DSkScalerContext.cpp570 SkMask srcM, dstM; in getImage() local
592 if (fMaskFilter->filterMask(&dstM, srcM, matrix, NULL)) { in getImage()
593 int width = SkFastMin32(origGlyph.fWidth, dstM.fBounds.width()); in getImage()
594 int height = SkFastMin32(origGlyph.fHeight, dstM.fBounds.height()); in getImage()
596 int srcRB = dstM.fRowBytes; in getImage()
598 const uint8_t* src = (const uint8_t*)dstM.fImage; in getImage()
601 if (SkMask::k3D_Format == dstM.fFormat) { in getImage()
614 SkMask::FreeImage(dstM.fImage); in getImage()
DSkDraw.cpp881 SkMask dstM; in drawDevMask() local
883 paint.getMaskFilter()->filterMask(&dstM, srcM, *fMatrix, NULL)) { in drawDevMask()
884 mask = &dstM; in drawDevMask()
886 dstM.fImage = NULL; in drawDevMask()
888 SkAutoMaskFreeImage ami(dstM.fImage); in drawDevMask()
2306 SkMask srcM, dstM; in compute_bounds() local
2311 if (!filter->filterMask(&dstM, srcM, *filterMatrix, &margin)) { in compute_bounds()
/external/skia/src/effects/
DSkBlurMaskFilter.cpp80 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix,
82 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix,
306 SkMask srcM, dstM; in filterRRectToNine() local
316 filterResult = this->filterRRectMask(&dstM, rrect, matrix, &margin, in filterRRectToNine()
321 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine()
388 patch->fOuterRect = dstM.fBounds; in filterRRectToNine()
418 SkMask srcM, dstM; in filterRectsToNine() local
428 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin, in filterRectsToNine()
431 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRectsToNine()
456 int smallW = dstM.fBounds.width() - srcM.fBounds.width() + 2; in filterRectsToNine()
[all …]
/external/chromium_org/third_party/skia/src/effects/
DSkBlurMaskFilter.cpp81 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix,
83 bool filterRRectMask(SkMask* dstM, const SkRRect& r, const SkMatrix& matrix,
309 SkMask srcM, dstM; in filterRRectToNine() local
319 filterResult = this->filterRRectMask(&dstM, rrect, matrix, &margin, in filterRRectToNine()
324 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine()
391 patch->fOuterRect = dstM.fBounds; in filterRRectToNine()
421 SkMask srcM, dstM; in filterRectsToNine() local
431 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin, in filterRectsToNine()
434 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRectsToNine()
459 int smallW = dstM.fBounds.width() - srcM.fBounds.width() + 2; in filterRectsToNine()
[all …]
/external/chromium_org/third_party/skia/src/gpu/
DSkGpuDevice.cpp599 SkMask srcM, dstM; in draw_with_mask_filter() local
607 if (!filter->filterMask(&dstM, srcM, context->getMatrix(), NULL)) { in draw_with_mask_filter()
611 SkAutoMaskFreeImage autoDst(dstM.fImage); in draw_with_mask_filter()
613 if (clip.quickReject(dstM.fBounds)) { in draw_with_mask_filter()
620 desc.fWidth = dstM.fBounds.width(); in draw_with_mask_filter()
621 desc.fHeight = dstM.fBounds.height(); in draw_with_mask_filter()
631 dstM.fImage, dstM.fRowBytes); in draw_with_mask_filter()
633 SkRect maskRect = SkRect::Make(dstM.fBounds); in draw_with_mask_filter()
/external/skia/src/gpu/
DSkGpuDevice.cpp631 SkMask srcM, dstM; in draw_with_mask_filter() local
639 if (!filter->filterMask(&dstM, srcM, context->getMatrix(), NULL)) { in draw_with_mask_filter()
643 SkAutoMaskFreeImage autoDst(dstM.fImage); in draw_with_mask_filter()
645 if (clip.quickReject(dstM.fBounds)) { in draw_with_mask_filter()
652 desc.fWidth = dstM.fBounds.width(); in draw_with_mask_filter()
653 desc.fHeight = dstM.fBounds.height(); in draw_with_mask_filter()
663 dstM.fImage, dstM.fRowBytes); in draw_with_mask_filter()
665 SkRect maskRect = SkRect::Make(dstM.fBounds); in draw_with_mask_filter()
/external/llvm/lib/Linker/
DLinkModules.cpp414 ModuleLinker(Module *dstM, TypeSet &Set, Module *srcM, unsigned mode, in ModuleLinker() argument
416 : DstM(dstM), SrcM(srcM), TypeMap(Set), in ModuleLinker()