| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_GL_GL_WGL_API_IMPLEMENTATION_H_ | 5 #ifndef UI_GL_GL_WGL_API_IMPLEMENTATION_H_ |
| 6 #define UI_GL_GL_WGL_API_IMPLEMENTATION_H_ | 6 #define UI_GL_GL_WGL_API_IMPLEMENTATION_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "ui/gl/gl_bindings.h" | 11 #include "ui/gl/gl_bindings.h" |
| 12 #include "ui/gl/gl_export.h" | 12 #include "ui/gl/gl_export.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class CommandLine; | 15 class CommandLine; |
| 16 } | 16 } |
| 17 namespace gl { | 17 namespace gl { |
| 18 | 18 |
| 19 struct GLWindowSystemBindingInfo; | 19 struct GLWindowSystemBindingInfo; |
| 20 | 20 |
| 21 GL_EXPORT void InitializeStaticGLBindingsWGL(); | 21 GL_EXPORT void InitializeStaticGLBindingsWGL(); |
| 22 GL_EXPORT void InitializeDebugGLBindingsWGL(); | 22 GL_EXPORT void InitializeDebugGLBindingsWGL(); |
| 23 GL_EXPORT void ClearGLBindingsWGL(); | 23 GL_EXPORT void ClearBindingsWGL(); |
| 24 GL_EXPORT bool GetGLWindowSystemBindingInfoWGL(GLWindowSystemBindingInfo* info); | 24 GL_EXPORT bool GetGLWindowSystemBindingInfoWGL(GLWindowSystemBindingInfo* info); |
| 25 | 25 |
| 26 class GL_EXPORT WGLApiBase : public WGLApi { | 26 class GL_EXPORT WGLApiBase : public WGLApi { |
| 27 public: | 27 public: |
| 28 // Include the auto-generated part of this class. We split this because | 28 // Include the auto-generated part of this class. We split this because |
| 29 // it means we can easily edit the non-auto generated parts right here in | 29 // it means we can easily edit the non-auto generated parts right here in |
| 30 // this file instead of having to edit some template or the code generator. | 30 // this file instead of having to edit some template or the code generator. |
| 31 #include "gl_bindings_api_autogen_wgl.h" | 31 #include "gl_bindings_api_autogen_wgl.h" |
| 32 | 32 |
| 33 protected: | 33 protected: |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 private: | 69 private: |
| 70 WGLApi* wgl_api_; | 70 WGLApi* wgl_api_; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace gl | 73 } // namespace gl |
| 74 | 74 |
| 75 #endif // UI_GL_GL_WGL_API_IMPLEMENTATION_H_ | 75 #endif // UI_GL_GL_WGL_API_IMPLEMENTATION_H_ |
| 76 | 76 |
| 77 | 77 |
| 78 | 78 |
| OLD | NEW |