aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBatchTarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrBatchTarget.h')
-rw-r--r--src/gpu/GrBatchTarget.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/GrBatchTarget.h b/src/gpu/GrBatchTarget.h
index f317f3046e..61f12d8169 100644
--- a/src/gpu/GrBatchTarget.h
+++ b/src/gpu/GrBatchTarget.h
@@ -104,12 +104,6 @@ public:
fInlineUploads.reset();
}
- // TODO This goes away when everything uses batch
- GrBatchTracker* currentBatchTracker() {
- SkASSERT(!fFlushBuffer.empty());
- return &fFlushBuffer.back().fBatchTracker;
- }
-
const GrDrawTargetCaps& caps() const { return *fGpu->caps(); }
GrResourceProvider* resourceProvider() const { return fGpu->getContext()->resourceProvider(); }