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

Side by Side Diff: src/gpu/batches/GrVertexBatch.h

Issue 1332923003: Remove batchtracker (Closed) Base URL: https://skia.googlesource.com/skia.git@latecreatepathprocessor
Patch Set: tweaks Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « src/gpu/batches/GrDrawPathBatch.cpp ('k') | src/gpu/batches/GrVertexBatch.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrVertexBatch_DEFINED 8 #ifndef GrVertexBatch_DEFINED
9 #define GrVertexBatch_DEFINED 9 #define GrVertexBatch_DEFINED
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // the batch's GrPipeline. 72 // the batch's GrPipeline.
73 struct DrawArray { 73 struct DrawArray {
74 SkSTArray<1, GrVertices, true> fDraws; 74 SkSTArray<1, GrVertices, true> fDraws;
75 GrPendingProgramElement<const GrPrimitiveProcessor> fPrimitiveProcessor; 75 GrPendingProgramElement<const GrPrimitiveProcessor> fPrimitiveProcessor;
76 }; 76 };
77 77
78 // Array of DrawArray. There may be inline uploads between each DrawArray an d each DrawArray 78 // Array of DrawArray. There may be inline uploads between each DrawArray an d each DrawArray
79 // may use a different primitive processor. 79 // may use a different primitive processor.
80 SkTLList<DrawArray> fDrawArrays; 80 SkTLList<DrawArray> fDrawArrays;
81 81
82 // What is this?
83 GrBatchTracker fBatchTracker;
84
85 typedef GrDrawBatch INHERITED; 82 typedef GrDrawBatch INHERITED;
86 }; 83 };
87 84
88 #endif 85 #endif
OLDNEW
« no previous file with comments | « src/gpu/batches/GrDrawPathBatch.cpp ('k') | src/gpu/batches/GrVertexBatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698