Index: include/gpu/GrTypesPriv.h |
=================================================================== |
--- include/gpu/GrTypesPriv.h (revision 0) |
+++ include/gpu/GrTypesPriv.h (working copy) |
@@ -0,0 +1,27 @@ |
+/* |
+ * Copyright 2013 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef GrTypesPriv_DEFINED |
+#define GrTypesPriv_DEFINED |
+ |
+/** |
+ * Types of shader-language-specific boxed variables we can create. |
+ * (Currently only GrGLShaderVars, but should be applicable to other shader |
+ * languages.) |
+ */ |
+enum GrSLType { |
+ kVoid_GrSLType, |
+ kFloat_GrSLType, |
+ kVec2f_GrSLType, |
+ kVec3f_GrSLType, |
+ kVec4f_GrSLType, |
+ kMat33f_GrSLType, |
+ kMat44f_GrSLType, |
+ kSampler2D_GrSLType |
+}; |
+ |
+#endif |