blob: 31e2de7d7403f5ca5dde8e54c0810998f9efb293 [file] [log] [blame]
jvanverthcba99b82015-06-24 06:59:57 -07001/*
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
17class GrGLContextInfo;
18
19/**
20 * Gets the most recent GLSL Generation compatible with the OpenGL context.
21 */
22bool GrGLGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation);
23
jvanverthcba99b82015-06-24 06:59:57 -070024
25#endif