GrGLGLSL.h 428 B

1234567891011121314151617181920
  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. #ifndef GrGLGLSL_DEFINED
  8. #define GrGLGLSL_DEFINED
  9. #include "src/gpu/glsl/GrGLSL.h"
  10. struct GrGLInterface;
  11. /**
  12. * Gets the most recent GLSL Generation compatible with the OpenGL context.
  13. */
  14. bool GrGLGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation);
  15. #endif