Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: ui/gl/gl_glx_api_implementation.h

Issue 2099163003: Revert of Move static GL binding initialization to //ui/gl/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/gl_gl_api_implementation.h ('k') | ui/gl/gl_implementation.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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; 19 class GLContext;
20 struct GLWindowSystemBindingInfo; 20 struct GLWindowSystemBindingInfo;
21 21
22 GL_EXPORT void InitializeStaticGLBindingsGLX(); 22 void InitializeStaticGLBindingsGLX();
23 GL_EXPORT void InitializeDebugGLBindingsGLX(); 23 void InitializeDebugGLBindingsGLX();
24 GL_EXPORT void ClearGLBindingsGLX(); 24 void ClearGLBindingsGLX();
25 bool GetGLWindowSystemBindingInfoGLX(GLWindowSystemBindingInfo* info); 25 bool GetGLWindowSystemBindingInfoGLX(GLWindowSystemBindingInfo* info);
26 26
27 class GL_EXPORT GLXApiBase : public GLXApi { 27 class GL_EXPORT GLXApiBase : public GLXApi {
28 public: 28 public:
29 // Include the auto-generated part of this class. We split this because 29 // Include the auto-generated part of this class. We split this because
30 // it means we can easily edit the non-auto generated parts right here in 30 // it means we can easily edit the non-auto generated parts right here in
31 // this file instead of having to edit some template or the code generator. 31 // this file instead of having to edit some template or the code generator.
32 #include "gl_bindings_api_autogen_glx.h" 32 #include "gl_bindings_api_autogen_glx.h"
33 33
34 protected: 34 protected:
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 private: 68 private:
69 GLXApi* glx_api_; 69 GLXApi* glx_api_;
70 }; 70 };
71 71
72 } // namespace gl 72 } // namespace gl
73 73
74 #endif // UI_GL_GL_GLX_API_IMPLEMENTATION_H_ 74 #endif // UI_GL_GL_GLX_API_IMPLEMENTATION_H_
75 75
76 76
77 77
OLDNEW
« no previous file with comments | « ui/gl/gl_gl_api_implementation.h ('k') | ui/gl/gl_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698