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

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

Issue 1457123002: Make block size a template parameter of SkTLList (Closed) Base URL: https://skia.googlesource.com/skia.git@forward
Patch Set: another missing typename Created 5 years, 1 month 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/GrStencilAndCoverTextContext.h ('k') | src/gpu/batches/GrDrawPathBatch.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 GrDrawPathBatch_DEFINED 8 #ifndef GrDrawPathBatch_DEFINED
9 #define GrDrawPathBatch_DEFINED 9 #define GrDrawPathBatch_DEFINED
10 10
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 GrDrawPathRangeBatch(const SkMatrix& viewMatrix, const SkMatrix& localMatrix , GrColor color, 164 GrDrawPathRangeBatch(const SkMatrix& viewMatrix, const SkMatrix& localMatrix , GrColor color,
165 GrPathRange* range, GrPathRangeDraw* draw); 165 GrPathRange* range, GrPathRangeDraw* draw);
166 166
167 bool onCombineIfPossible(GrBatch* t, const GrCaps& caps) override; 167 bool onCombineIfPossible(GrBatch* t, const GrCaps& caps) override;
168 168
169 void onPrepare(GrBatchFlushState*) override {} 169 void onPrepare(GrBatchFlushState*) override {}
170 170
171 void onDraw(GrBatchFlushState* state) override; 171 void onDraw(GrBatchFlushState* state) override;
172 172
173 typedef GrPendingIOResource<const GrPathRange, kRead_GrIOType> PendingPathRa nge; 173 typedef GrPendingIOResource<const GrPathRange, kRead_GrIOType> PendingPathRa nge;
174 typedef SkTLList<GrPathRangeDraw*> DrawList; 174 typedef SkTLList<GrPathRangeDraw*, 4> DrawList;
175 PendingPathRange fPathRange; 175 PendingPathRange fPathRange;
176 DrawList fDraws; 176 DrawList fDraws;
177 int fTotalPathCount; 177 int fTotalPathCount;
178 SkMatrix fLocalMatrix; 178 SkMatrix fLocalMatrix;
179 179
180 typedef GrDrawPathBatchBase INHERITED; 180 typedef GrDrawPathBatchBase INHERITED;
181 }; 181 };
182 182
183 #endif 183 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrStencilAndCoverTextContext.h ('k') | src/gpu/batches/GrDrawPathBatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698