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

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

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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_fence_nv.cc ('k') | ui/gl/gl_gl_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_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
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_
OLDNEW
« no previous file with comments | « ui/gl/gl_fence_nv.cc ('k') | ui/gl/gl_gl_api_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698