Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBlurImageFilter.cpp155 SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.fX, inputOffset.fY, in onFilterImage() local
159 if (!this->applyCropRect(this->mapContext(ctx), inputBounds, &dstBounds)) { in onFilterImage()
162 if (!inputBounds.intersect(dstBounds)) { in onFilterImage()
182 offset->fX = inputBounds.x(); in onFilterImage()
183 offset->fY = inputBounds.y(); in onFilterImage()
184 return input->makeSubset(inputBounds.makeOffset(-inputOffset.x(), in onFilterImage()
190 inputBounds.offset(-inputOffset); in onFilterImage()
201 inputBounds, in onFilterImage()
230 offset->fX = inputBounds.x(); in onFilterImage()
231 offset->fY = inputBounds.y(); in onFilterImage()
[all …]
/external/skia/src/effects/
DSkColorFilterImageFilter.cpp67 SkIRect inputBounds; in onFilterImage() local
70 inputBounds = ctx.clipBounds(); in onFilterImage()
74 inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage()
79 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkTileImageFilter.cpp67 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in onFilterImage() local
69 if (!SkIRect::Intersects(srcIRect, inputBounds)) { in onFilterImage()
75 if (inputBounds.contains(srcIRect)) { in onFilterImage()
DSkMergeImageFilter.cpp51 const SkIRect inputBounds = SkIRect::MakeXYWH(offsets[i].fX, offsets[i].fY, in onFilterImage() local
53 bounds.join(inputBounds); in onFilterImage()
DSkDropShadowImageFilter.cpp72 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
75 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkAlphaThresholdFilter.cpp144 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
148 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkMagnifierImageFilter.cpp329 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
333 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkLightingImageFilter.cpp482 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in filterImageGPU() local
493 const SkIRect* pSrcBounds = inputBounds.contains(offsetBounds) ? nullptr : &inputBounds; in filterImageGPU()
1279 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
1282 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
1434 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
1437 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()