Index: include/gpu/GrEffect.h |
diff --git a/include/gpu/GrEffect.h b/include/gpu/GrEffect.h |
index 09d716f80ac7c5ed2f4a5cd6230081f801ace12d..ec1b0ba636063a5903dc6a7cfb4d667643e617a5 100644 |
--- a/include/gpu/GrEffect.h |
+++ b/include/gpu/GrEffect.h |
@@ -125,15 +125,6 @@ public: |
static const int kMaxVertexAttribs = 2; |
- /** Useful for effects that want to insert a texture matrix that is implied by the texture |
- dimensions */ |
- static inline SkMatrix MakeDivByTextureWHMatrix(const GrTexture* texture) { |
- SkASSERT(NULL != texture); |
- SkMatrix mat; |
- mat.setIDiv(texture->width(), texture->height()); |
- return mat; |
- } |
- |
void* operator new(size_t size); |
void operator delete(void* target); |