egdaniel | 7dc4bd0 | 2015-10-29 07:57:01 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 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 GrGLSLProcessorTypes_DEFINED |
| 9 | #define GrGLSLProcessorTypes_DEFINED |
| 10 | |
| 11 | #include "GrShaderVar.h" |
| 12 | |
| 13 | /** |
| 14 | * These are meant to only be used by GrGLSL*Processors so they can add transformed coordinates |
| 15 | * to their shader code. |
| 16 | */ |
| 17 | typedef GrShaderVar GrGLSLTransformedCoords; |
| 18 | typedef SkTArray<GrShaderVar> GrGLSLTransformedCoordsArray; |
| 19 | |
| 20 | #endif |