OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 #ifndef GrGLProgramDataManager_DEFINED | 8 #ifndef GrGLProgramDataManager_DEFINED |
9 #define GrGLProgramDataManager_DEFINED | 9 #define GrGLProgramDataManager_DEFINED |
10 | 10 |
| 11 #include "GrAllocator.h" |
11 #include "gl/GrGLShaderVar.h" | 12 #include "gl/GrGLShaderVar.h" |
12 #include "GrAllocator.h" | 13 #include "gl/GrGLTypes.h" |
13 | 14 |
14 #include "SkTArray.h" | 15 #include "SkTArray.h" |
15 | 16 |
16 class GrGLGpu; | 17 class GrGLGpu; |
17 class SkMatrix; | 18 class SkMatrix; |
18 class GrGLProgram; | 19 class GrGLProgram; |
19 class GrGLProgramBuilder; | 20 class GrGLProgramBuilder; |
20 | 21 |
21 /** Manages the resources used by a shader program. | 22 /** Manages the resources used by a shader program. |
22 * The resources are objects the program uses to communicate with the | 23 * The resources are objects the program uses to communicate with the |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 124 |
124 SkTArray<Uniform, true> fUniforms; | 125 SkTArray<Uniform, true> fUniforms; |
125 SkTArray<SeparableVarying, true> fSeparableVaryings; | 126 SkTArray<SeparableVarying, true> fSeparableVaryings; |
126 GrGLGpu* fGpu; | 127 GrGLGpu* fGpu; |
127 GrGLuint fProgramID; | 128 GrGLuint fProgramID; |
128 | 129 |
129 typedef SkNoncopyable INHERITED; | 130 typedef SkNoncopyable INHERITED; |
130 }; | 131 }; |
131 | 132 |
132 #endif | 133 #endif |
OLD | NEW |