OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 GrGLProgramDesc_DEFINED | 8 #ifndef GrGLProgramDesc_DEFINED |
9 #define GrGLProgramDesc_DEFINED | 9 #define GrGLProgramDesc_DEFINED |
10 | 10 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 }; | 226 }; |
227 | 227 |
228 SkAutoSMalloc<kPreAllocSize> fKey; | 228 SkAutoSMalloc<kPreAllocSize> fKey; |
229 bool fInitialized; | 229 bool fInitialized; |
230 | 230 |
231 // GrGLProgram and GrGLShaderBuilder read the private fields to generate cod
e. TODO: Move all | 231 // GrGLProgram and GrGLShaderBuilder read the private fields to generate cod
e. TODO: Move all |
232 // code generation to GrGLShaderBuilder (and maybe add getters rather than f
riending). | 232 // code generation to GrGLShaderBuilder (and maybe add getters rather than f
riending). |
233 friend class GrGLProgram; | 233 friend class GrGLProgram; |
234 friend class GrGLShaderBuilder; | 234 friend class GrGLShaderBuilder; |
235 friend class GrGLFullShaderBuilder; | 235 friend class GrGLFullShaderBuilder; |
| 236 friend class GrGLFragmentOnlyShaderBuilder; |
236 }; | 237 }; |
237 | 238 |
238 #endif | 239 #endif |
OLD | NEW |