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

Side by Side Diff: src/gpu/GrTestBatch.h

Issue 1277233002: Make folder for batches (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 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/GrTessellatingPathRenderer.cpp ('k') | src/gpu/batches/GrBatch.h » ('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 GrTestBatch_DEFINED 8 #ifndef GrTestBatch_DEFINED
9 #define GrTestBatch_DEFINED 9 #define GrTestBatch_DEFINED
10 10
11 #include "GrBatch.h"
12 #include "GrVertexBuffer.h" 11 #include "GrVertexBuffer.h"
13 12
13 #include "batches/GrBatch.h"
14
14 /* 15 /*
15 * A simple batch only for testing purposes which actually doesn't batch at all, but can fit into 16 * A simple batch only for testing purposes which actually doesn't batch at all, but can fit into
16 * the batch pipeline and generate arbitrary geometry 17 * the batch pipeline and generate arbitrary geometry
17 */ 18 */
18 class GrTestBatch : public GrBatch { 19 class GrTestBatch : public GrBatch {
19 public: 20 public:
20 struct Geometry { 21 struct Geometry {
21 GrColor fColor; 22 GrColor fColor;
22 }; 23 };
23 24
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 bool fUsesLocalCoords; 77 bool fUsesLocalCoords;
77 bool fColorIgnored; 78 bool fColorIgnored;
78 bool fCoverageIgnored; 79 bool fCoverageIgnored;
79 }; 80 };
80 81
81 SkAutoTUnref<const GrGeometryProcessor> fGeometryProcessor; 82 SkAutoTUnref<const GrGeometryProcessor> fGeometryProcessor;
82 BatchTracker fBatch; 83 BatchTracker fBatch;
83 }; 84 };
84 85
85 #endif 86 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTessellatingPathRenderer.cpp ('k') | src/gpu/batches/GrBatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698