1 | /* |
---|---|
2 | * Copyright 2011 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 GrGLGLSL_DEFINED |
9 | #define GrGLGLSL_DEFINED |
10 | |
11 | #include "src/gpu/glsl/GrGLSL.h" |
12 | |
13 | struct GrGLInterface; |
14 | |
15 | /** |
16 | * Gets the most recent GLSL Generation compatible with the OpenGL context. |
17 | */ |
18 | bool GrGLGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation); |
19 | |
20 | #endif |
21 |