OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 GrGLShaderBuilder_DEFINED | 8 #ifndef GrGLShaderBuilder_DEFINED |
9 #define GrGLShaderBuilder_DEFINED | 9 #define GrGLShaderBuilder_DEFINED |
10 | 10 |
11 #include "gl/GrGLProgramDesc.h" | 11 #include "gl/GrGLProgramDesc.h" |
12 #include "gl/GrGLProgramEffects.h" | 12 #include "gl/GrGLProgramEffects.h" |
13 #include "gl/GrGLSL.h" | 13 #include "gl/GrGLSL.h" |
14 #include "gl/GrGLProgramDataManager.h" | 14 #include "gl/GrGLProgramDataManager.h" |
15 #include "GrAllocator.h" | |
16 #include "GrBackendEffectFactory.h" | 15 #include "GrBackendEffectFactory.h" |
17 #include "GrColor.h" | 16 #include "GrColor.h" |
18 #include "GrEffect.h" | 17 #include "GrEffect.h" |
19 #include "SkTypes.h" | 18 #include "SkTypes.h" |
20 | 19 |
21 #include <stdarg.h> | 20 #include <stdarg.h> |
22 | 21 |
23 class GrGLContextInfo; | 22 class GrGLContextInfo; |
24 class GrEffectStage; | 23 class GrEffectStage; |
25 class GrGLProgramDesc; | 24 class GrGLProgramDesc; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 public: | 165 public: |
167 GrGLFullShaderBuilder(GrGLFullProgramBuilder* program); | 166 GrGLFullShaderBuilder(GrGLFullProgramBuilder* program); |
168 | 167 |
169 GrGLFullProgramBuilder* fullProgramBuilder() { return fFullProgramBuilder; } | 168 GrGLFullProgramBuilder* fullProgramBuilder() { return fFullProgramBuilder; } |
170 protected: | 169 protected: |
171 GrGLFullProgramBuilder* fFullProgramBuilder; | 170 GrGLFullProgramBuilder* fFullProgramBuilder; |
172 private: | 171 private: |
173 typedef GrGLShaderBuilder INHERITED; | 172 typedef GrGLShaderBuilder INHERITED; |
174 }; | 173 }; |
175 #endif | 174 #endif |
OLD | NEW |