blob: 062e229cdf87ebbb459d78932779bc3731a9657c [file] [log] [blame]
joshualitt30ba4362014-08-21 20:18:45 -07001/*
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"
mtkleinb9eb4ac2015-02-02 18:26:03 -080012#include "GrGpu.h"
joshualitt30ba4362014-08-21 20:18:45 -070013#include "gl/GrGLContext.h"
14#include "SkTypes.h"
15
16GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx,
17 GrGLuint programId,
18 GrGLenum type,
joshualitt43466a12015-02-13 17:18:27 -080019 const char** strings,
20 int* lengths,
21 int count,
mtkleinb9eb4ac2015-02-02 18:26:03 -080022 GrGpu::Stats*);
joshualitt30ba4362014-08-21 20:18:45 -070023
24#endif