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

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

Issue 16431009: Use a direct include of strings headers in ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/gfx/vector3d_f.cc ('k') | ui/gl/gl_implementation_win.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 #include "ui/gl/gl_gl_api_implementation.h" 5 #include "ui/gl/gl_gl_api_implementation.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "ui/gl/gl_context.h" 12 #include "ui/gl/gl_context.h"
13 #include "ui/gl/gl_implementation.h" 13 #include "ui/gl/gl_implementation.h"
14 #include "ui/gl/gl_state_restorer.h" 14 #include "ui/gl/gl_state_restorer.h"
15 #include "ui/gl/gl_surface.h" 15 #include "ui/gl/gl_surface.h"
16 #include "ui/gl/gl_switches.h" 16 #include "ui/gl/gl_switches.h"
17 17
18 namespace gfx { 18 namespace gfx {
19 19
20 // The GL Api being used. This could be g_real_gl or gl_trace_gl 20 // The GL Api being used. This could be g_real_gl or gl_trace_gl
21 static GLApi* g_gl; 21 static GLApi* g_gl;
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 const GLubyte* VirtualGLApi::glGetStringFn(GLenum name) { 304 const GLubyte* VirtualGLApi::glGetStringFn(GLenum name) {
305 switch (name) { 305 switch (name) {
306 case GL_EXTENSIONS: 306 case GL_EXTENSIONS:
307 return reinterpret_cast<const GLubyte*>(extensions_.c_str()); 307 return reinterpret_cast<const GLubyte*>(extensions_.c_str());
308 default: 308 default:
309 return driver_->fn.glGetStringFn(name); 309 return driver_->fn.glGetStringFn(name);
310 } 310 }
311 } 311 }
312 312
313 } // namespace gfx 313 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/vector3d_f.cc ('k') | ui/gl/gl_implementation_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698