Index: include/gpu/GrPaint.h |
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h |
index d60b47ffc3902e2d88d2ba6d8d8218251456782d..3c131a6fcfaf257cc5a3d44d521e692605b6ef5e 100644 |
--- a/include/gpu/GrPaint.h |
+++ b/include/gpu/GrPaint.h |
@@ -147,32 +147,6 @@ public: |
*/ |
bool isOpaqueAndConstantColor(GrColor* constantColor) const; |
- /** |
- * DO NOT USE THESE |
- * TODO Remove remaining use cases and delete these |
- */ |
- bool localCoordChangeInverse(const SkMatrix& newToOld) { |
- SkMatrix oldToNew; |
- bool computed = false; |
- for (int i = 0; i < fColorStages.count(); ++i) { |
- if (!computed && !newToOld.invert(&oldToNew)) { |
- return false; |
- } else { |
- computed = true; |
- } |
- fColorStages[i].localCoordChange(oldToNew); |
- } |
- for (int i = 0; i < fCoverageStages.count(); ++i) { |
- if (!computed && !newToOld.invert(&oldToNew)) { |
- return false; |
- } else { |
- computed = true; |
- } |
- fCoverageStages[i].localCoordChange(oldToNew); |
- } |
- return true; |
- } |
- |
private: |
friend class GrContext; // To access above two functions |
friend class GrStencilAndCoverTextContext; // To access above two functions |