Chromium Code Reviews| Index: src/gpu/gl/builders/GrGLShaderStringBuilder.h |
| diff --git a/src/gpu/gl/builders/GrGLShaderStringBuilder.h b/src/gpu/gl/builders/GrGLShaderStringBuilder.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e6cb46edbcf4959c267ca86a7eaf0d2f1773cc11 |
| --- /dev/null |
| +++ b/src/gpu/gl/builders/GrGLShaderStringBuilder.h |
| @@ -0,0 +1,22 @@ |
| +/* |
| + * Copyright 2014 Google Inc. |
| + * |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +#ifndef GrGLShaderStringBuilder_DEFINED |
| +#define GrGLShaderStringBuilder_DEFINED |
| + |
| +#include "GrAllocator.h" |
| +#include "gl/GrGLContext.h" |
| +#include "SkTypes.h" |
| + |
| +namespace GrGLShaderStringBuilder { |
|
bsalomon
2014/08/21 17:18:00
Is the namespace helping here? If you aren't plann
|
| + GrGLuint attachShader(const GrGLContext& glCtx, |
| + GrGLuint programId, |
| + GrGLenum type, |
| + const SkString& shaderSrc); |
| +}; |
| + |
| +#endif |