Index: include/core/SkImageFilter.h |
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h |
index 0a3f7b8492d6bfd273b4db5e57d9ff903f556d08..3a7cb23d5e399a4fd552d167943c1e01f91f81e3 100644 |
--- a/include/core/SkImageFilter.h |
+++ b/include/core/SkImageFilter.h |
@@ -230,19 +230,18 @@ public: |
bool canComputeFastBounds() const; |
/** |
+ * If this filter can be represented by another filter + a localMatrix, return that filter, |
+ * else return null. |
+ */ |
+ SkImageFilter* newWithLocalMatrix(const SkMatrix& matrix) const; |
+ |
+ /** |
* Create an SkMatrixImageFilter, which transforms its input by the given matrix. |
*/ |
static SkImageFilter* CreateMatrixFilter(const SkMatrix& matrix, |
SkFilterQuality, |
SkImageFilter* input = NULL); |
- /** |
- * Create an SkLocalMatrixImageFilter, which transform the filter parameters |
- * of its inputs by the given matrix. |
- */ |
- static SkImageFilter* CreateLocalMatrixFilter(const SkMatrix& matrix, |
- SkImageFilter* input); |
- |
#if SK_SUPPORT_GPU |
/** |
* Wrap the given texture in a texture-backed SkBitmap. |