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

Side by Side Diff: app/gfx/gl/gl_implementation.cc

Issue 3162047: FBTF: Move some heavy, repeatedly emitted symbols to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: mac fixes Created 10 years, 3 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 | « app/app_paths.cc ('k') | base/command_line.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/gfx/gl/gl_implementation.h" 5 #include "app/gfx/gl/gl_implementation.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "app/app_switches.h" 10 #include "app/app_switches.h"
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/logging.h"
13 14
14 namespace gfx { 15 namespace gfx {
15 namespace { 16 namespace {
16 17
17 typedef std::vector<base::NativeLibrary> LibraryArray; 18 typedef std::vector<base::NativeLibrary> LibraryArray;
18 19
19 GLImplementation g_gl_implementation = kGLImplementationNone; 20 GLImplementation g_gl_implementation = kGLImplementationNone;
20 LibraryArray* g_libraries; 21 LibraryArray* g_libraries;
21 GLGetProcAddressProc g_get_proc_address; 22 GLGetProcAddressProc g_get_proc_address;
22 23
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 name); 121 name);
121 if (proc) 122 if (proc)
122 return proc; 123 return proc;
123 } 124 }
124 } 125 }
125 126
126 return NULL; 127 return NULL;
127 } 128 }
128 129
129 } // namespace gfx 130 } // namespace gfx
OLDNEW
« no previous file with comments | « app/app_paths.cc ('k') | base/command_line.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698