Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index e0358bfb1b56ac6cbdee373693cd123ff5e165da..65ed7c543a7ea525dc7175abd4f36649ba824905 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -1319,8 +1319,8 @@ bool SkBlurMaskFilterImpl::canFilterMaskGPU(const SkRRect& devRRect, |
return false; |
} |
- // We always do circles on the GPU |
- if (!devRRect.isCircle()) { |
+ // We always do circles and simple circular rrects on the GPU |
+ if (!devRRect.isCircle() && !devRRect.isSimpleCircular()) { |
static const SkScalar kMIN_GPU_BLUR_SIZE = SkIntToScalar(64); |
static const SkScalar kMIN_GPU_BLUR_SIGMA = SkIntToScalar(32); |