Index: src/gpu/GrDrawTarget.h |
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h |
index e0b96b2a3bfe4ea4a506fc9e64fd53590e8b81f2..a5e3b8efee3eb852dcb705bef5ae5281bd892036 100644 |
--- a/src/gpu/GrDrawTarget.h |
+++ b/src/gpu/GrDrawTarget.h |
@@ -202,23 +202,6 @@ public: |
*/ |
virtual void purgeResources() {}; |
- /////////////////////////////////////////////////////////////////////////// |
- // Draw execution tracking (for font atlases and other resources) |
- class DrawToken { |
- public: |
- DrawToken(GrDrawTarget* drawTarget, uint32_t drawID) : |
- fDrawTarget(drawTarget), fDrawID(drawID) {} |
- |
- bool isIssued() { return fDrawTarget && fDrawTarget->isIssued(fDrawID); } |
- |
- private: |
- GrDrawTarget* fDrawTarget; |
- uint32_t fDrawID; // this may wrap, but we're doing direct comparison |
- // so that should be okay |
- }; |
- |
- virtual DrawToken getCurrentDrawToken() { return DrawToken(this, 0); } |
- |
bool programUnitTest(int maxStages); |
protected: |