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_GLX_API_IMPLEMENTATION_H_ | 5 #ifndef UI_GL_GL_GLX_API_IMPLEMENTATION_H_ |
6 #define UI_GL_GL_GLX_API_IMPLEMENTATION_H_ | 6 #define UI_GL_GL_GLX_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 "gl_bindings.h" | 11 #include "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 class GLContext; | |
20 struct GLWindowSystemBindingInfo; | 19 struct GLWindowSystemBindingInfo; |
21 | 20 |
22 GL_EXPORT void InitializeStaticGLBindingsGLX(); | 21 GL_EXPORT void InitializeStaticGLBindingsGLX(); |
23 GL_EXPORT void InitializeDebugGLBindingsGLX(); | 22 GL_EXPORT void InitializeDebugGLBindingsGLX(); |
24 GL_EXPORT void ClearGLBindingsGLX(); | 23 GL_EXPORT void ClearGLBindingsGLX(); |
25 GL_EXPORT bool GetGLWindowSystemBindingInfoGLX(GLWindowSystemBindingInfo* info); | 24 GL_EXPORT bool GetGLWindowSystemBindingInfoGLX(GLWindowSystemBindingInfo* info); |
26 | 25 |
27 class GL_EXPORT GLXApiBase : public GLXApi { | 26 class GL_EXPORT GLXApiBase : public GLXApi { |
28 public: | 27 public: |
29 // 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 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 private: | 67 private: |
69 GLXApi* glx_api_; | 68 GLXApi* glx_api_; |
70 }; | 69 }; |
71 | 70 |
72 } // namespace gl | 71 } // namespace gl |
73 | 72 |
74 #endif // UI_GL_GL_GLX_API_IMPLEMENTATION_H_ | 73 #endif // UI_GL_GL_GLX_API_IMPLEMENTATION_H_ |
75 | 74 |
76 | 75 |
77 | 76 |
OLD | NEW |