Index: src/gpu/glsl/GrGLSLProcessorTypes.h |
diff --git a/src/gpu/glsl/GrGLSLProcessorTypes.h b/src/gpu/glsl/GrGLSLProcessorTypes.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6410e5eee16527ab03ae370ab42919138244bd0e |
--- /dev/null |
+++ b/src/gpu/glsl/GrGLSLProcessorTypes.h |
@@ -0,0 +1,20 @@ |
+/* |
+ * Copyright 2015 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef GrGLSLProcessorTypes_DEFINED |
+#define GrGLSLProcessorTypes_DEFINED |
+ |
+#include "GrShaderVar.h" |
+ |
+/** |
+ * These are meant to only be used by GrGLSL*Processors so they can add transformed coordinates |
+ * to their shader code. |
+ */ |
+typedef GrShaderVar GrGLSLTransformedCoords; |
+typedef SkTArray<GrShaderVar> GrGLSLTransformedCoordsArray; |
+ |
+#endif |