Index: src/effects/SkMatrixConvolutionImageFilter.cpp |
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp |
index e58eec10f4e25d99c2fff2a262b232ea9bbda72b..7c5dd8368f439e528ca06691d3f9ff3bb9273ad0 100644 |
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp |
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp |
@@ -335,6 +335,12 @@ bool SkMatrixConvolutionImageFilter::onFilterBounds(const SkIRect& src, const Sk |
return true; |
} |
+bool SkMatrixConvolutionImageFilter::canComputeFastBounds() const { |
+ // Because the kernel is applied in device-space, we have no idea what |
+ // pixels it will affect in object-space. |
+ return false; |
+} |
+ |
#if SK_SUPPORT_GPU |
static GrTextureDomain::Mode convert_tilemodes( |