OLD | NEW |
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 |
(...skipping 16 matching lines...) Expand all Loading... |
27 */ | 27 */ |
28 class GrPipeline { | 28 class GrPipeline { |
29 public: | 29 public: |
30 SK_DECLARE_INST_COUNT(GrPipeline) | 30 SK_DECLARE_INST_COUNT(GrPipeline) |
31 | 31 |
32 GrPipeline(const GrPipelineBuilder&, | 32 GrPipeline(const GrPipelineBuilder&, |
33 const GrProcOptInfo& colorPOI, | 33 const GrProcOptInfo& colorPOI, |
34 const GrProcOptInfo& coveragePOI, | 34 const GrProcOptInfo& coveragePOI, |
35 const GrDrawTargetCaps&, | 35 const GrDrawTargetCaps&, |
36 const GrScissorState&, | 36 const GrScissorState&, |
37 const GrDeviceCoordTexture* dstCopy); | 37 const GrXferProcessor::DstTexture*); |
38 | 38 |
39 /* | 39 /* |
40 * Returns true if these pipelines are equivalent. | 40 * Returns true if these pipelines are equivalent. |
41 */ | 41 */ |
42 bool isEqual(const GrPipeline& that) const; | 42 bool isEqual(const GrPipeline& that) const; |
43 | 43 |
44 /// @} | 44 /// @} |
45 | 45 |
46 /////////////////////////////////////////////////////////////////////////// | 46 /////////////////////////////////////////////////////////////////////////// |
47 /// @name GrFragmentProcessors | 47 /// @name GrFragmentProcessors |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 138 |
139 // This function is equivalent to the offset into fFragmentStages where cove
rage stages begin. | 139 // This function is equivalent to the offset into fFragmentStages where cove
rage stages begin. |
140 int fNumColorStages; | 140 int fNumColorStages; |
141 | 141 |
142 GrProgramDesc fDesc; | 142 GrProgramDesc fDesc; |
143 | 143 |
144 typedef SkRefCnt INHERITED; | 144 typedef SkRefCnt INHERITED; |
145 }; | 145 }; |
146 | 146 |
147 #endif | 147 #endif |
OLD | NEW |