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

Side by Side Diff: ui/gl/gl_egl_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/angle_platform_impl.h ('k') | ui/gl/gl_egl_api_implementation.cc » ('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_EGL_API_IMPLEMENTATION_H_ 5 #ifndef UI_GL_GL_EGL_API_IMPLEMENTATION_H_
6 #define UI_GL_GL_EGL_API_IMPLEMENTATION_H_ 6 #define UI_GL_GL_EGL_API_IMPLEMENTATION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "ui/gl/gl_bindings.h" 12 #include "ui/gl/gl_bindings.h"
13 #include "ui/gl/gl_export.h" 13 #include "ui/gl/gl_export.h"
14 14
15 namespace base { 15 namespace base {
16 class CommandLine; 16 class CommandLine;
17 } 17 }
18 namespace gl { 18 namespace gl {
19 19
20 class GLContext; 20 class GLContext;
21 struct GLWindowSystemBindingInfo; 21 struct GLWindowSystemBindingInfo;
22 22
23 GL_EXPORT void InitializeStaticGLBindingsEGL(); 23 void InitializeStaticGLBindingsEGL();
24 GL_EXPORT void InitializeDebugGLBindingsEGL(); 24 void InitializeDebugGLBindingsEGL();
25 GL_EXPORT void ClearGLBindingsEGL(); 25 void ClearGLBindingsEGL();
26 bool GetGLWindowSystemBindingInfoEGL(GLWindowSystemBindingInfo* info); 26 bool GetGLWindowSystemBindingInfoEGL(GLWindowSystemBindingInfo* info);
27 27
28 class GL_EXPORT EGLApiBase : public EGLApi { 28 class GL_EXPORT EGLApiBase : public EGLApi {
29 public: 29 public:
30 // Include the auto-generated part of this class. We split this because 30 // Include the auto-generated part of this class. We split this because
31 // it means we can easily edit the non-auto generated parts right here in 31 // it means we can easily edit the non-auto generated parts right here in
32 // this file instead of having to edit some template or the code generator. 32 // this file instead of having to edit some template or the code generator.
33 #include "gl_bindings_api_autogen_egl.h" 33 #include "gl_bindings_api_autogen_egl.h"
34 34
35 protected: 35 protected:
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 private: 71 private:
72 EGLApi* egl_api_; 72 EGLApi* egl_api_;
73 }; 73 };
74 74
75 } // namespace gl 75 } // namespace gl
76 76
77 #endif // UI_GL_GL_EGL_API_IMPLEMENTATION_H_ 77 #endif // UI_GL_GL_EGL_API_IMPLEMENTATION_H_
78 78
79 79
80 80
OLDNEW
« no previous file with comments | « ui/gl/angle_platform_impl.h ('k') | ui/gl/gl_egl_api_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698