Debian Codegraph @

src/gpu/ganesh/gl/GrGLGLSL.h

raw
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 namespace SkSL {
12 enum class GLSLGeneration;
13 }
14
15 struct GrGLDriverInfo;
16
17 /**
18 * Gets the most recent GLSL Generation compatible with the OpenGL context.
19 */
20 bool GrGLGetGLSLGeneration(const GrGLDriverInfo&, SkSL::GLSLGeneration* generation);
21
22 #endif