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_GL_API_IMPLEMENTATION_H_ | 5 #ifndef UI_GL_GL_GL_API_IMPLEMENTATION_H_ |
6 #define UI_GL_GL_GL_API_IMPLEMENTATION_H_ | 6 #define UI_GL_GL_GL_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 gpu { | 17 namespace gpu { |
18 namespace gles2 { | 18 namespace gles2 { |
19 class GLES2Decoder; | 19 class GLES2Decoder; |
20 } | 20 } |
21 } | 21 } |
22 namespace gfx { | 22 namespace gl { |
23 | 23 |
24 class GLContext; | 24 class GLContext; |
25 class GLSurface; | 25 class GLSurface; |
26 struct GLVersionInfo; | 26 struct GLVersionInfo; |
27 | 27 |
28 void InitializeStaticGLBindingsGL(); | 28 void InitializeStaticGLBindingsGL(); |
29 void InitializeDynamicGLBindingsGL(GLContext* context); | 29 void InitializeDynamicGLBindingsGL(GLContext* context); |
30 void InitializeDebugGLBindingsGL(); | 30 void InitializeDebugGLBindingsGL(); |
31 void InitializeNullDrawGLBindingsGL(); | 31 void InitializeNullDrawGLBindingsGL(); |
32 // TODO(danakj): Remove this when all test suites are using null-draw. | 32 // TODO(danakj): Remove this when all test suites are using null-draw. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 GLContext* real_context_; | 136 GLContext* real_context_; |
137 | 137 |
138 // The current virtual context. | 138 // The current virtual context. |
139 GLContext* current_context_; | 139 GLContext* current_context_; |
140 | 140 |
141 // The supported extensions being advertised for this virtual context. | 141 // The supported extensions being advertised for this virtual context. |
142 std::string extensions_; | 142 std::string extensions_; |
143 std::vector<std::string> extensions_vec_; | 143 std::vector<std::string> extensions_vec_; |
144 }; | 144 }; |
145 | 145 |
146 } // namespace gfx | 146 } // namespace gl |
147 | 147 |
148 #endif // UI_GL_GL_GL_API_IMPLEMENTATION_H_ | 148 #endif // UI_GL_GL_GL_API_IMPLEMENTATION_H_ |
OLD | NEW |