aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBatchFlushState.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-11-10 10:19:50 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-10 10:19:51 -0800
commit1f0e350af690044b2ba807893ac470800f8914a2 (patch)
tree1b025de40930d6aa37829a12bc07a82cd9b43208 /src/gpu/GrBatchFlushState.h
parent80ec3dbf72b596bb00e6f9ded211fd6ac7729b9b (diff)
Disable preemptive batch preparation
Preemptive batch preparation makes MultiDrawBuffer more difficult to implement. This CL disables it. BUG=skia:4094 Review URL: https://codereview.chromium.org/1430403002
Diffstat (limited to 'src/gpu/GrBatchFlushState.h')
-rw-r--r--src/gpu/GrBatchFlushState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrBatchFlushState.h b/src/gpu/GrBatchFlushState.h
index f9b304d6a2..2008fa69eb 100644
--- a/src/gpu/GrBatchFlushState.h
+++ b/src/gpu/GrBatchFlushState.h
@@ -44,7 +44,7 @@ private:
/** Tracks the state across all the GrBatches in a GrDrawTarget flush. */
class GrBatchFlushState {
public:
- GrBatchFlushState(GrGpu*, GrResourceProvider*, GrBatchToken lastFlushedToken);
+ GrBatchFlushState(GrGpu*, GrResourceProvider*);
~GrBatchFlushState() { this->reset(); }