Index: include/core/SkImageFilter.h |
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h |
index e467761a1f0607e2ce244003be132c295c4f9874..54de2881d561f10fa0642bcae2d91b7d66f80713 100644 |
--- a/include/core/SkImageFilter.h |
+++ b/include/core/SkImageFilter.h |
@@ -91,9 +91,10 @@ public: |
* caller to unref it. |
* |
* The effect can assume its vertexCoords space maps 1-to-1 with texels |
- * in the texture. |
+ * in the texture. "offset" is the delta between the source and |
+ * destination rect's origins, when cropped processing is being performed. |
*/ |
- virtual bool asNewEffect(GrEffectRef** effect, GrTexture*) const; |
+ virtual bool asNewEffect(GrEffectRef** effect, GrTexture*, const SkIPoint& offset) const; |
/** |
* Returns true if the filter can be processed on the GPU. This is most |