OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_GL_WGL_API_IMPLEMENTATION_H_ |
| 6 #define UI_GL_WGL_API_IMPLEMENTATION_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "gl_bindings.h" |
| 10 |
| 11 namespace gfx { |
| 12 |
| 13 class GLContext; |
| 14 |
| 15 void InitializwglBindingsWGL(); |
| 16 void InitializwglExtensionBindingsWGL(GLContext* context); |
| 17 void InitializeDebugGLBindingsWGL(); |
| 18 void ClearGLBindingsWGL(); |
| 19 |
| 20 class RealWGLApi : public WGLApi { |
| 21 public: |
| 22 RealWGLApi(); |
| 23 void Initialize(DriverWGL* driver); |
| 24 |
| 25 // Include the auto-generated part of this class. We split this because |
| 26 // it means we can easily edit the non-auto generated parts right here in |
| 27 // this file instead of having to edit some template or the code generator. |
| 28 #include "gl_bindings_api_autogen_wgl.h" |
| 29 |
| 30 private: |
| 31 DriverWGL* driver_; |
| 32 }; |
| 33 |
| 34 } // namespace gfx |
| 35 |
| 36 #endif // UI_GL_WGL_API_IMPLEMENTATION_H_ |
| 37 |
| 38 |
| 39 |
OLD | NEW |