| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 | 8 |
| 9 #ifndef GrGLContext_DEFINED | 9 #ifndef GrGLContext_DEFINED |
| 10 #define GrGLContext_DEFINED | 10 #define GrGLContext_DEFINED |
| 11 | 11 |
| 12 #include "gl/GrGLExtensions.h" | 12 #include "gl/GrGLExtensions.h" |
| 13 #include "gl/GrGLInterface.h" | 13 #include "gl/GrGLInterface.h" |
| 14 #include "GrGLCaps.h" | 14 #include "GrGLCaps.h" |
| 15 #include "GrGLSL.h" | |
| 16 #include "GrGLUtil.h" | 15 #include "GrGLUtil.h" |
| 17 | 16 |
| 18 struct GrContextOptions; | 17 struct GrContextOptions; |
| 19 | 18 |
| 20 /** | 19 /** |
| 21 * Encapsulates information about an OpenGL context including the OpenGL | 20 * Encapsulates information about an OpenGL context including the OpenGL |
| 22 * version, the GrGLStandard type of the context, and GLSL version. | 21 * version, the GrGLStandard type of the context, and GLSL version. |
| 23 */ | 22 */ |
| 24 class GrGLContextInfo : public SkNoncopyable { | 23 class GrGLContextInfo : public SkNoncopyable { |
| 25 public: | 24 public: |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 76 |
| 78 const GrGLInterface* interface() const { return fInterface; } | 77 const GrGLInterface* interface() const { return fInterface; } |
| 79 | 78 |
| 80 private: | 79 private: |
| 81 GrGLContext(const ConstructorArgs& args) : INHERITED(args) {} | 80 GrGLContext(const ConstructorArgs& args) : INHERITED(args) {} |
| 82 | 81 |
| 83 typedef GrGLContextInfo INHERITED; | 82 typedef GrGLContextInfo INHERITED; |
| 84 }; | 83 }; |
| 85 | 84 |
| 86 #endif | 85 #endif |
| OLD | NEW |