Index: src/effects/SkBlurImageFilter.cpp |
diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp |
index 8398f48b7f815e3af535b299727137c01c7943b5..c77a444da5c7a31ddc85fa56da04d30fb2d62687 100644 |
--- a/src/effects/SkBlurImageFilter.cpp |
+++ b/src/effects/SkBlurImageFilter.cpp |
@@ -212,13 +212,15 @@ bool SkBlurImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const |
offset->fX = rect.fLeft; |
offset->fY = rect.fTop; |
rect.offset(-srcOffset); |
+ auto constraint = GrTextureProvider::FromImageFilter(ctx.sizeConstraint()); |
SkAutoTUnref<GrTexture> tex(SkGpuBlurUtils::GaussianBlur(source->getContext(), |
source, |
false, |
SkRect::Make(rect), |
true, |
sigma.x(), |
- sigma.y())); |
+ sigma.y(), |
+ constraint)); |
if (!tex) { |
return false; |
} |