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

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

Issue 2468653002: Remove GrStencilSettings from GrPipeline (Closed)
Patch Set: Remove GrStencilSettings from GrPipeline Created 4 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/GrUserStencilSettings.h ('k') | src/gpu/gl/GrGLGpu.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
11 #include "GrBatchFlushState.h" 11 #include "GrBatchFlushState.h"
12 #include "GrDrawBatch.h" 12 #include "GrDrawBatch.h"
13 #include "GrGpu.h" 13 #include "GrGpu.h"
14 #include "GrPath.h" 14 #include "GrPath.h"
15 #include "GrPathRendering.h" 15 #include "GrPathRendering.h"
16 #include "GrPathProcessor.h" 16 #include "GrPathProcessor.h"
17 #include "GrStencilSettings.h"
17 18
18 #include "SkTLList.h" 19 #include "SkTLList.h"
19 20
20 class GrDrawPathBatchBase : public GrDrawBatch { 21 class GrDrawPathBatchBase : public GrDrawBatch {
21 public: 22 public:
22 void computePipelineOptimizations(GrInitInvariantOutput* color, 23 void computePipelineOptimizations(GrInitInvariantOutput* color,
23 GrInitInvariantOutput* coverage, 24 GrInitInvariantOutput* coverage,
24 GrBatchToXPOverrides* overrides) const ove rride { 25 GrBatchToXPOverrides* overrides) const ove rride {
25 color->setKnownFourComponents(fColor); 26 color->setKnownFourComponents(fColor);
26 coverage->setKnownSingleComponent(0xff); 27 coverage->setKnownSingleComponent(0xff);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 193
193 PendingPathRange fPathRange; 194 PendingPathRange fPathRange;
194 DrawList fDraws; 195 DrawList fDraws;
195 int fTotalPathCount; 196 int fTotalPathCount;
196 SkScalar fScale; 197 SkScalar fScale;
197 198
198 typedef GrDrawPathBatchBase INHERITED; 199 typedef GrDrawPathBatchBase INHERITED;
199 }; 200 };
200 201
201 #endif 202 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrUserStencilSettings.h ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698