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 #include "GrPipelineBuilder.h" | 8 #include "GrPipelineBuilder.h" |
9 | 9 |
10 #include "GrBlend.h" | 10 #include "GrBlend.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 void GrPipelineBuilder::calcColorInvariantOutput(const GrDrawBatch* batch) const
{ | 116 void GrPipelineBuilder::calcColorInvariantOutput(const GrDrawBatch* batch) const
{ |
117 fColorProcInfo.calcColorWithBatch(batch, fColorFragmentProcessors.begin(), | 117 fColorProcInfo.calcColorWithBatch(batch, fColorFragmentProcessors.begin(), |
118 this->numColorFragmentProcessors()); | 118 this->numColorFragmentProcessors()); |
119 } | 119 } |
120 | 120 |
121 void GrPipelineBuilder::calcCoverageInvariantOutput(const GrDrawBatch* batch) co
nst { | 121 void GrPipelineBuilder::calcCoverageInvariantOutput(const GrDrawBatch* batch) co
nst { |
122 fCoverageProcInfo.calcCoverageWithBatch(batch, fCoverageFragmentProcessors.b
egin(), | 122 fCoverageProcInfo.calcCoverageWithBatch(batch, fCoverageFragmentProcessors.b
egin(), |
123 this->numCoverageFragmentProcessors(
)); | 123 this->numCoverageFragmentProcessors(
)); |
124 } | 124 } |
| 125 |
OLD | NEW |