joshualitt | 30ba436 | 2014-08-21 20:18:45 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 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 GrGLShaderStringBuilder_DEFINED |
| 9 | #define GrGLShaderStringBuilder_DEFINED |
| 10 | |
| 11 | #include "GrAllocator.h" |
mtklein | b9eb4ac | 2015-02-02 18:26:03 -0800 | [diff] [blame] | 12 | #include "GrGpu.h" |
joshualitt | 30ba436 | 2014-08-21 20:18:45 -0700 | [diff] [blame] | 13 | #include "gl/GrGLContext.h" |
| 14 | #include "SkTypes.h" |
| 15 | |
| 16 | GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, |
| 17 | GrGLuint programId, |
| 18 | GrGLenum type, |
joshualitt | 43466a1 | 2015-02-13 17:18:27 -0800 | [diff] [blame] | 19 | const char** strings, |
| 20 | int* lengths, |
| 21 | int count, |
mtklein | b9eb4ac | 2015-02-02 18:26:03 -0800 | [diff] [blame] | 22 | GrGpu::Stats*); |
joshualitt | 30ba436 | 2014-08-21 20:18:45 -0700 | [diff] [blame] | 23 | |
| 24 | #endif |