2 * Copyright 2014 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #ifndef GrGLShaderStringBuilder_DEFINED
9 #define GrGLShaderStringBuilder_DEFINED
11 #include "GrAllocator.h"
12 #include "GrContext.h"
13 #include "gl/GrGLContext.h"
16 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
19 const SkString& shaderSrc,
20 GrContext::GPUStats* gpuStats);