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 GrGLShaderStringBuilder_DEFINED | 8 #ifndef GrGLShaderStringBuilder_DEFINED |
9 #define GrGLShaderStringBuilder_DEFINED | 9 #define GrGLShaderStringBuilder_DEFINED |
10 | 10 |
11 #include "GrAllocator.h" | 11 #include "GrAllocator.h" |
12 #include "gl/GrGLContext.h" | 12 #include "gl/GrGLContext.h" |
13 #include "SkTypes.h" | 13 #include "SkTypes.h" |
14 | 14 |
15 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, | 15 class GrGpuGL; |
| 16 |
| 17 GrGLuint GrGLCompileAndAttachShader(GrGpuGL* gpu, |
16 GrGLuint programId, | 18 GrGLuint programId, |
17 GrGLenum type, | 19 GrGLenum type, |
18 const SkString& shaderSrc); | 20 const SkString& shaderSrc); |
19 | 21 |
20 #endif | 22 #endif |
OLD | NEW |