OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 GrGLFragmentShaderBuilder_DEFINED | 8 #ifndef GrGLFragmentShaderBuilder_DEFINED |
9 #define GrGLFragmentShaderBuilder_DEFINED | 9 #define GrGLFragmentShaderBuilder_DEFINED |
10 | 10 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 bool fHasSecondaryOutput; | 148 bool fHasSecondaryOutput; |
149 bool fSetupFragPosition; | 149 bool fSetupFragPosition; |
150 bool fTopLeftFragPosRead; | 150 bool fTopLeftFragPosRead; |
151 int fCustomColorOutputIndex; | 151 int fCustomColorOutputIndex; |
152 | 152 |
153 // some state to verify shaders and effects are consistent, this is reset be
tween effects by | 153 // some state to verify shaders and effects are consistent, this is reset be
tween effects by |
154 // the program creator | 154 // the program creator |
155 bool fHasReadDstColor; | 155 bool fHasReadDstColor; |
156 bool fHasReadFragmentPosition; | 156 bool fHasReadFragmentPosition; |
157 | 157 |
| 158 friend class GrGLNvprProgramBuilderBase; |
158 friend class GrGLNvprProgramBuilder; | 159 friend class GrGLNvprProgramBuilder; |
159 friend class GrGLProgramBuilder; | 160 friend class GrGLProgramBuilder; |
160 | 161 |
161 typedef GrGLFPFragmentBuilder INHERITED; | 162 typedef GrGLFPFragmentBuilder INHERITED; |
162 }; | 163 }; |
163 | 164 |
164 #endif | 165 #endif |
OLD | NEW |