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

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

Issue 1825393002: Consolidate GPU buffer implementations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: asserts 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 unified diff | Download patch
« no previous file with comments | « src/gpu/batches/GrTessellatingPathRenderer.cpp ('k') | src/gpu/batches/GrVertexBatch.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 "GrBatchFlushState.h" 11 #include "GrBatchFlushState.h"
12 #include "GrGeometryProcessor.h" 12 #include "GrGeometryProcessor.h"
13 #include "GrVertexBuffer.h"
14 13
15 #include "batches/GrVertexBatch.h" 14 #include "batches/GrVertexBatch.h"
16 15
17 /* 16 /*
18 * A simple batch only for testing purposes which actually doesn't batch at all, but can fit into 17 * A simple batch only for testing purposes which actually doesn't batch at all, but can fit into
19 * the batch pipeline and generate arbitrary geometry 18 * the batch pipeline and generate arbitrary geometry
20 */ 19 */
21 class GrTestBatch : public GrVertexBatch { 20 class GrTestBatch : public GrVertexBatch {
22 public: 21 public:
23 struct Geometry { 22 struct Geometry {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 bool fCoverageIgnored; 79 bool fCoverageIgnored;
81 }; 80 };
82 81
83 SkAutoTUnref<const GrGeometryProcessor> fGeometryProcessor; 82 SkAutoTUnref<const GrGeometryProcessor> fGeometryProcessor;
84 BatchTracker fBatch; 83 BatchTracker fBatch;
85 84
86 typedef GrVertexBatch INHERITED; 85 typedef GrVertexBatch INHERITED;
87 }; 86 };
88 87
89 #endif 88 #endif
OLDNEW
« no previous file with comments | « src/gpu/batches/GrTessellatingPathRenderer.cpp ('k') | src/gpu/batches/GrVertexBatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698