| 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 kMaxPreallocEffects * sizeof(uint32_t) * kIntsPerEffect, | 240 kMaxPreallocEffects * sizeof(uint32_t) * kIntsPerEffect, |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 SkSTArray<kPreAllocSize, uint8_t, true> fKey; | 243 SkSTArray<kPreAllocSize, uint8_t, true> fKey; |
| 244 | 244 |
| 245 // GrGLProgram and GrGLShaderBuilder read the private fields to generate cod
e. TODO: Split out | 245 // GrGLProgram and GrGLShaderBuilder read the private fields to generate cod
e. TODO: Split out |
| 246 // part of GrGLShaderBuilder that is used by effects so that this header doe
sn't need to be | 246 // part of GrGLShaderBuilder that is used by effects so that this header doe
sn't need to be |
| 247 // visible to GrGLProcessors. Then make public accessors as necessary and re
move friends. | 247 // visible to GrGLProcessors. Then make public accessors as necessary and re
move friends. |
| 248 friend class GrGLProgram; | 248 friend class GrGLProgram; |
| 249 friend class GrGLProgramBuilder; | 249 friend class GrGLProgramBuilder; |
| 250 friend class GrGLFullProgramBuilder; | 250 friend class GrGLLegacyNvprProgramBuilder; |
| 251 friend class GrGLFragmentOnlyProgramBuilder; | 251 friend class GrGLVertexBuilder; |
| 252 friend class GrGLVertexShaderBuilder; | |
| 253 friend class GrGLFragmentShaderBuilder; | 252 friend class GrGLFragmentShaderBuilder; |
| 254 friend class GrGLGeometryShaderBuilder; | 253 friend class GrGLGeometryBuilder; |
| 255 }; | 254 }; |
| 256 | 255 |
| 257 #endif | 256 #endif |
| OLD | NEW |