commit-bot@chromium.org | ff6ea26 | 2013-03-12 12:26:08 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2013 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef GrTypesPriv_DEFINED |
| 9 | #define GrTypesPriv_DEFINED |
| 10 | |
| 11 | /** |
| 12 | * Types of shader-language-specific boxed variables we can create. |
| 13 | * (Currently only GrGLShaderVars, but should be applicable to other shader |
| 14 | * languages.) |
| 15 | */ |
| 16 | enum GrSLType { |
| 17 | kVoid_GrSLType, |
| 18 | kFloat_GrSLType, |
| 19 | kVec2f_GrSLType, |
| 20 | kVec3f_GrSLType, |
| 21 | kVec4f_GrSLType, |
| 22 | kMat33f_GrSLType, |
| 23 | kMat44f_GrSLType, |
| 24 | kSampler2D_GrSLType |
| 25 | }; |
| 26 | |
| 27 | #endif |