OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 | 8 |
9 #ifndef GrGLProgram_DEFINED | 9 #ifndef GrGLProgram_DEFINED |
10 #define GrGLProgram_DEFINED | 10 #define GrGLProgram_DEFINED |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 uint8_t fCoverageInput; // casts to enum Col
orInput | 185 uint8_t fCoverageInput; // casts to enum Col
orInput |
186 uint8_t fDualSrcOutput; // casts to enum Dua
lSrcOutput | 186 uint8_t fDualSrcOutput; // casts to enum Dua
lSrcOutput |
187 int8_t fFirstCoverageStage; | 187 int8_t fFirstCoverageStage; |
188 SkBool8 fEmitsPointSize; | 188 SkBool8 fEmitsPointSize; |
189 uint8_t fColorFilterXfermode; // casts to enum SkX
fermode::Mode | 189 uint8_t fColorFilterXfermode; // casts to enum SkX
fermode::Mode |
190 | 190 |
191 int8_t fPositionAttributeIndex; | 191 int8_t fPositionAttributeIndex; |
192 int8_t fColorAttributeIndex; | 192 int8_t fColorAttributeIndex; |
193 int8_t fCoverageAttributeIndex; | 193 int8_t fCoverageAttributeIndex; |
194 int8_t fEdgeAttributeIndex; | 194 int8_t fEdgeAttributeIndex; |
195 int8_t fTexCoordAttributeIndex; | 195 int8_t fLocalCoordsAttributeIndex; |
196 | 196 |
197 friend class GrGLProgram; | 197 friend class GrGLProgram; |
198 }; | 198 }; |
199 | 199 |
200 // Layout information for OpenGL vertex attributes | 200 // Layout information for OpenGL vertex attributes |
201 struct AttribLayout { | 201 struct AttribLayout { |
202 GrGLint fCount; | 202 GrGLint fCount; |
203 GrGLenum fType; | 203 GrGLenum fType; |
204 GrGLboolean fNormalized; | 204 GrGLboolean fNormalized; |
205 }; | 205 }; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 Desc fDesc; | 292 Desc fDesc; |
293 const GrGLContext& fContext; | 293 const GrGLContext& fContext; |
294 | 294 |
295 GrGLUniformManager fUniformManager; | 295 GrGLUniformManager fUniformManager; |
296 UniformHandles fUniformHandles; | 296 UniformHandles fUniformHandles; |
297 | 297 |
298 typedef GrRefCnt INHERITED; | 298 typedef GrRefCnt INHERITED; |
299 }; | 299 }; |
300 | 300 |
301 #endif | 301 #endif |
OLD | NEW |