/external/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 57 SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset, SkIPoint* offset) const; 541 SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.fX, inputOffset.fY, in onFilterImage() local 546 if (!this->applyCropRect(this->mapContext(ctx), inputBounds, &dstBounds)) { in onFilterImage() 549 if (!inputBounds.intersect(dstBounds)) { in onFilterImage() 557 inputBounds.offset(-inputOffset); in onFilterImage() 572 result = this->gpuFilter(ctx, sigma, input, inputBounds, dstBounds, inputOffset, in onFilterImage() 594 result = cpu_blur(ctx, sigma, input, inputBounds, dstBounds); in onFilterImage() 606 const Context& ctx, SkVector sigma, const sk_sp<SkSpecialImage> &input, SkIRect inputBounds, in gpuFilter() argument 610 offset->fX = inputBounds.x() + inputOffset.fX; in gpuFilter() 611 offset->fY = inputBounds.y() + inputOffset.fY; in gpuFilter() [all …]
|
D | SkColorFilterImageFilter.cpp | 91 SkIRect inputBounds; in onFilterImage() local 94 inputBounds = ctx.clipBounds(); in onFilterImage() 98 inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() 103 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
|
D | SkTileImageFilter.cpp | 118 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in onFilterImage() local 120 if (!SkIRect::Intersects(srcIRect, inputBounds)) { in onFilterImage() 126 if (inputBounds.contains(srcIRect)) { in onFilterImage()
|
D | SkMergeImageFilter.cpp | 80 const SkIRect inputBounds = SkIRect::MakeXYWH(offsets[i].fX, offsets[i].fY, in onFilterImage() local 82 bounds.join(inputBounds); in onFilterImage()
|
D | SkDropShadowImageFilter.cpp | 116 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 119 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
|
D | SkMagnifierImageFilter.cpp | 105 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 109 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
|
D | SkAlphaThresholdImageFilter.cpp | 137 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 141 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
|
D | SkLightingImageFilter.cpp | 499 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in filterImageGPU() local 510 const SkIRect* pSrcBounds = inputBounds.contains(offsetBounds) ? nullptr : &inputBounds; in filterImageGPU() 1255 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 1258 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage() 1390 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 1393 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
|
/external/skqp/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 61 SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset, 574 SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.fX, inputOffset.fY, in onFilterImage() local 579 if (!this->applyCropRect(this->mapContext(ctx), inputBounds, &dstBounds)) { in onFilterImage() 582 if (!inputBounds.intersect(dstBounds)) { in onFilterImage() 590 inputBounds.offset(-inputOffset); in onFilterImage() 605 result = this->gpuFilter(source, sigma, input, inputBounds, dstBounds, inputOffset, in onFilterImage() 610 result = cpu_blur(sigma, source, input, inputBounds, dstBounds); in onFilterImage() 623 SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset, in gpuFilter() argument 627 offset->fX = inputBounds.x() + inputOffset.fX; in gpuFilter() 628 offset->fY = inputBounds.y() + inputOffset.fY; in gpuFilter() [all …]
|
D | SkColorFilterImageFilter.cpp | 67 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()
|
D | SkTileImageFilter.cpp | 68 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in onFilterImage() local 70 if (!SkIRect::Intersects(srcIRect, inputBounds)) { in onFilterImage() 76 if (inputBounds.contains(srcIRect)) { in onFilterImage()
|
D | SkMergeImageFilter.cpp | 51 const SkIRect inputBounds = SkIRect::MakeXYWH(offsets[i].fX, offsets[i].fY, in onFilterImage() local 53 bounds.join(inputBounds); in onFilterImage()
|
D | SkMagnifierImageFilter.cpp | 84 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 88 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
|
D | SkDropShadowImageFilter.cpp | 75 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 78 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
|
D | SkAlphaThresholdFilter.cpp | 154 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 158 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
|
D | SkLightingImageFilter.cpp | 486 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in filterImageGPU() local 497 const SkIRect* pSrcBounds = inputBounds.contains(offsetBounds) ? nullptr : &inputBounds; in filterImageGPU() 1301 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 1304 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage() 1448 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local 1451 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
|