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

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

Issue 1233853004: Revert of Another trivial cleanup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 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/GrPendingFragmentStage.h ('k') | src/gpu/GrPipeline.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 GrPipeline_DEFINED 8 #ifndef GrPipeline_DEFINED
9 #define GrPipeline_DEFINED 9 #define GrPipeline_DEFINED
10 10
11 #include "GrColor.h" 11 #include "GrColor.h"
12 #include "GrGpu.h" 12 #include "GrGpu.h"
13 #include "GrStagedProcessor.h" 13 #include "GrPendingFragmentStage.h"
14 #include "GrPendingProgramElement.h"
15 #include "GrPrimitiveProcessor.h" 14 #include "GrPrimitiveProcessor.h"
16 #include "GrProgramDesc.h" 15 #include "GrProgramDesc.h"
17 #include "GrStencil.h" 16 #include "GrStencil.h"
18 #include "GrTypesPriv.h" 17 #include "GrTypesPriv.h"
19 #include "SkMatrix.h" 18 #include "SkMatrix.h"
20 #include "SkRefCnt.h" 19 #include "SkRefCnt.h"
21 20
22 class GrBatch; 21 class GrBatch;
23 class GrDeviceCoordTexture; 22 class GrDeviceCoordTexture;
24 class GrPipelineBuilder; 23 class GrPipelineBuilder;
25 24
26 typedef GrStagedProcessor<GrPendingProgramElement> GrPendingFragmentStage;
27
28 /** 25 /**
29 * Class that holds an optimized version of a GrPipelineBuilder. It is meant to be an immutable 26 * Class that holds an optimized version of a GrPipelineBuilder. It is meant to be an immutable
30 * class, and contains all data needed to set the state for a gpu draw. 27 * class, and contains all data needed to set the state for a gpu draw.
31 */ 28 */
32 class GrPipeline { 29 class GrPipeline {
33 public: 30 public:
34 31
35 32
36 GrPipeline(const GrPipelineBuilder&, 33 GrPipeline(const GrPipelineBuilder&,
37 const GrProcOptInfo& colorPOI, 34 const GrProcOptInfo& colorPOI,
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 141
145 // This function is equivalent to the offset into fFragmentStages where cove rage stages begin. 142 // This function is equivalent to the offset into fFragmentStages where cove rage stages begin.
146 int fNumColorStages; 143 int fNumColorStages;
147 144
148 GrProgramDesc fDesc; 145 GrProgramDesc fDesc;
149 146
150 typedef SkRefCnt INHERITED; 147 typedef SkRefCnt INHERITED;
151 }; 148 };
152 149
153 #endif 150 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrPendingFragmentStage.h ('k') | src/gpu/GrPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698