Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / src / gpu / gl / builders / GrGLShaderStringBuilder.h
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"
12 #include "GrContext.h"
13 #include "gl/GrGLContext.h"
14 #include "SkTypes.h"
15
16 GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
17                                     GrGLuint programId,
18                                     GrGLenum type,
19                                     const SkString& shaderSrc,
20                                     GrContext::GPUStats* gpuStats);
21
22 #endif