Home
last modified time | relevance | path

Searched refs:srcBounds (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/effects/
DSkBlurImageFilter.cpp156 SkIRect srcBounds, dstBounds; in onFilterImage() local
157 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &srcBounds, &src)) { in onFilterImage()
166 if (!dst->allocPixels(src.info().makeWH(srcBounds.width(), srcBounds.height()))) { in onFilterImage()
187 offset->fX = srcBounds.fLeft; in onFilterImage()
188 offset->fY = srcBounds.fTop; in onFilterImage()
197 offset->fX = srcBounds.fLeft; in onFilterImage()
198 offset->fY = srcBounds.fTop; in onFilterImage()
199 srcBounds.offset(-srcOffset); in onFilterImage()
200 const SkPMColor* s = src.getAddr32(srcBounds.left(), srcBounds.top()); in onFilterImage()
DSkMatrixImageFilter.cpp59 SkIRect srcBounds, dstBounds; in onFilterImage() local
60 src.getBounds(&srcBounds); in onFilterImage()
61 srcBounds.offset(srcOffset); in onFilterImage()
62 SkRect srcRect = SkRect::Make(srcBounds); in onFilterImage()
DSkMorphologyImageFilter.cpp180 SkIRect srcBounds = bounds; in filterImageGeneric() local
181 srcBounds.offset(-srcOffset); in filterImageGeneric()
184 src.extractSubset(dst, srcBounds); in filterImageGeneric()
196 callProcX(procX, src, &temp, width, srcBounds); in filterImageGeneric()
197 SkIRect tmpBounds = SkIRect::MakeWH(srcBounds.width(), srcBounds.height()); in filterImageGeneric()
200 callProcX(procX, src, dst, width, srcBounds); in filterImageGeneric()
202 callProcY(procY, src, dst, height, srcBounds); in filterImageGeneric()
558 SkIRect srcBounds = bounds; in filterImageGPUGeneric() local
559 srcBounds.offset(-srcOffset); in filterImageGPUGeneric()
561 input.extractSubset(result, srcBounds); in filterImageGPUGeneric()
[all …]
DSkBlurMaskFilter.cpp1096 bool SkBlurMaskFilterImpl::canFilterMaskGPU(const SkRect& srcBounds, in canFilterMaskGPU() argument
1108 if (srcBounds.width() <= kMIN_GPU_BLUR_SIZE && in canFilterMaskGPU()
1109 srcBounds.height() <= kMIN_GPU_BLUR_SIZE && in canFilterMaskGPU()
1123 SkRect srcRect(srcBounds); in canFilterMaskGPU()
/external/chromium_org/third_party/skia/src/effects/
DSkBlurImageFilter.cpp173 SkIRect srcBounds, dstBounds; in onFilterImage() local
174 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &srcBounds, &src)) { in onFilterImage()
183 if (!dst->tryAllocPixels(src.info().makeWH(srcBounds.width(), srcBounds.height()))) { in onFilterImage()
201 offset->fX = srcBounds.fLeft; in onFilterImage()
202 offset->fY = srcBounds.fTop; in onFilterImage()
211 offset->fX = srcBounds.fLeft; in onFilterImage()
212 offset->fY = srcBounds.fTop; in onFilterImage()
213 srcBounds.offset(-srcOffset); in onFilterImage()
214 const SkPMColor* s = src.getAddr32(srcBounds.left(), srcBounds.top()); in onFilterImage()
DSkMatrixImageFilter.cpp71 SkIRect srcBounds, dstBounds; in onFilterImage() local
72 src.getBounds(&srcBounds); in onFilterImage()
73 srcBounds.offset(srcOffset); in onFilterImage()
74 SkRect srcRect = SkRect::Make(srcBounds); in onFilterImage()
DSkMorphologyImageFilter.cpp183 SkIRect srcBounds = bounds; in filterImageGeneric() local
184 srcBounds.offset(-srcOffset); in filterImageGeneric()
187 src.extractSubset(dst, srcBounds); in filterImageGeneric()
199 callProcX(procX, src, &temp, width, srcBounds); in filterImageGeneric()
200 SkIRect tmpBounds = SkIRect::MakeWH(srcBounds.width(), srcBounds.height()); in filterImageGeneric()
203 callProcX(procX, src, dst, width, srcBounds); in filterImageGeneric()
205 callProcY(procY, src, dst, height, srcBounds); in filterImageGeneric()
582 SkIRect srcBounds = bounds; in filterImageGPUGeneric() local
583 srcBounds.offset(-srcOffset); in filterImageGPUGeneric()
585 input.extractSubset(result, srcBounds); in filterImageGPUGeneric()
[all …]
DSkBlurMaskFilter.cpp1108 bool SkBlurMaskFilterImpl::canFilterMaskGPU(const SkRect& srcBounds, in canFilterMaskGPU() argument
1120 if (srcBounds.width() <= kMIN_GPU_BLUR_SIZE && in canFilterMaskGPU()
1121 srcBounds.height() <= kMIN_GPU_BLUR_SIZE && in canFilterMaskGPU()
1135 SkRect srcRect(srcBounds); in canFilterMaskGPU()
/external/skia/src/core/
DSkImageFilter.cpp222 SkIRect srcBounds; in applyCropRect() local
223 src.getBounds(&srcBounds); in applyCropRect()
224 srcBounds.offset(srcOffset); in applyCropRect()
230 if (flags & CropRect::kHasLeft_CropEdge) srcBounds.fLeft = cropRectI.fLeft; in applyCropRect()
231 if (flags & CropRect::kHasTop_CropEdge) srcBounds.fTop = cropRectI.fTop; in applyCropRect()
232 if (flags & CropRect::kHasRight_CropEdge) srcBounds.fRight = cropRectI.fRight; in applyCropRect()
233 if (flags & CropRect::kHasBottom_CropEdge) srcBounds.fBottom = cropRectI.fBottom; in applyCropRect()
234 if (!srcBounds.intersect(ctx.clipBounds())) { in applyCropRect()
237 *bounds = srcBounds; in applyCropRect()
243 SkIRect srcBounds; in applyCropRect() local
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkImageFilter.cpp288 SkIRect srcBounds; in applyCropRect() local
289 src.getBounds(&srcBounds); in applyCropRect()
290 srcBounds.offset(srcOffset); in applyCropRect()
296 if (flags & CropRect::kHasLeft_CropEdge) srcBounds.fLeft = cropRectI.fLeft; in applyCropRect()
297 if (flags & CropRect::kHasTop_CropEdge) srcBounds.fTop = cropRectI.fTop; in applyCropRect()
298 if (flags & CropRect::kHasRight_CropEdge) srcBounds.fRight = cropRectI.fRight; in applyCropRect()
299 if (flags & CropRect::kHasBottom_CropEdge) srcBounds.fBottom = cropRectI.fBottom; in applyCropRect()
300 if (!srcBounds.intersect(ctx.clipBounds())) { in applyCropRect()
303 *bounds = srcBounds; in applyCropRect()
309 SkIRect srcBounds; in applyCropRect() local
[all …]
/external/skia/gm/
Dbicubicfilter.cpp67 SkRect srcBounds; in onDraw() local
68 fCheckerboard.getBounds(&srcBounds); in onDraw()
70 canvas->saveLayer(&srcBounds, &bicubicPaint); in onDraw()
/external/skia/src/gpu/
DGrContext.cpp1572 SkIRect srcBounds = SkIRect::MakeWH(src->width(), src->height()); in copyTexture() local
1573 if (!srcRect.intersect(srcBounds)) { in copyTexture()
/external/chromium_org/third_party/skia/src/gpu/
DGrContext.cpp1583 SkIRect srcBounds = SkIRect::MakeWH(src->width(), src->height()); in copyTexture() local
1584 if (!srcRect.intersect(srcBounds)) { in copyTexture()