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 GrGLInitGLSL_DEFINED
9 #define GrGLInitGLSL_DEFINED
10 
11 #include "gl/GrGLInterface.h"
12 #include "glsl/GrGLSL.h"
13 #include "GrColor.h"
14 #include "GrTypesPriv.h"
15 #include "SkString.h"
16 
17 class GrGLContextInfo;
18 
19 /**
20  * Gets the most recent GLSL Generation compatible with the OpenGL context.
21  */
22 bool GrGLGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation);
23 
24 
25 #endif
26