aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawTarget.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-05-19 15:05:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-19 15:05:24 -0700
commit8debd89f6360dbf4b19c17e32bb0328bd7a08576 (patch)
tree72f5badbee117df54a36b8df36160f953fcfce9c /src/gpu/GrDrawTarget.h
parenta65358c04de2afd8b09cc8c06fc77cf9a88b6658 (diff)
small cleanup of GrAtlas
Diffstat (limited to 'src/gpu/GrDrawTarget.h')
-rw-r--r--src/gpu/GrDrawTarget.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index e0b96b2a3b..a5e3b8efee 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: