Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: src/gpu/GrBatchFlushState.h

Issue 1225923010: Refugee from Dead Machine 4: MDB Monster Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Last update from dead machine Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrBatchAtlas.cpp ('k') | src/gpu/GrBatchTarget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrBatchFlushState.h
diff --git a/src/gpu/GrBatchFlushState.h b/src/gpu/GrBatchFlushState.h
index 2008fa69ebfc44fd014943f5292ae9a01f4f324a..dc769901317335fa8ec2435ecf9f30a667fda9dc 100644
--- a/src/gpu/GrBatchFlushState.h
+++ b/src/gpu/GrBatchFlushState.h
@@ -10,6 +10,7 @@
#include "GrBufferAllocPool.h"
#include "batches/GrVertexBatch.h"
+#include "GrContext.h"
class GrResourceProvider;
@@ -66,7 +67,7 @@ public:
/** The current token advances once for every contiguous set of uninterrupted draws prepared
by a batch. */
- GrBatchToken currentToken() const { return fCurrentToken; }
+ GrBatchToken currentToken2() const { return fCurrentToken; }
/** The last token flushed to all the way to the backend API. */
GrBatchToken lastFlushedToken() const { return fLastFlushedToken; }
@@ -139,7 +140,7 @@ public:
bool hasTokenBeenFlushed(GrBatchToken token) const {
return fState->hasTokenBeenFlushed(token);
}
- GrBatchToken currentToken() const { return fState->currentToken(); }
+ GrBatchToken currentToken1() const { return fState->currentToken2(); }
GrBatchToken asapToken() const { return fState->asapToken(); }
const GrCaps& caps() const { return fState->caps(); }
« no previous file with comments | « src/gpu/GrBatchAtlas.cpp ('k') | src/gpu/GrBatchTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698