Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index 08d46c797001185aafb0beb82ae30cf04f7ce091..43adc2fad5b8303c39febd9839b40dfa0dca2fcb 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -11,6 +11,7 @@ |
#include "SkBitmapDevice.h" |
#include "SkChecksum.h" |
#include "SkDevice.h" |
+#include "SkLocalMatrixImageFilter.h" |
#include "SkMatrixImageFilter.h" |
#include "SkMutex.h" |
#include "SkOncePtr.h" |
@@ -439,6 +440,11 @@ SkImageFilter* SkImageFilter::CreateMatrixFilter(const SkMatrix& matrix, |
return SkMatrixImageFilter::Create(matrix, filterQuality, input); |
} |
+SkImageFilter* SkImageFilter::CreateLocalMatrixFilter(const SkMatrix& matrix, |
+ SkImageFilter* input) { |
+ return SkLocalMatrixImageFilter::Create(matrix, input); |
+} |
+ |
#if SK_SUPPORT_GPU |
void SkImageFilter::WrapTexture(GrTexture* texture, int width, int height, SkBitmap* result) { |