| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/gfx/gl/gl_implementation.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/at_exit.h" | 10 #include "base/at_exit.h" |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "ui/gfx/gl/gl_switches.h" | 13 #include "ui/gfx/gl/gl_switches.h" |
| 14 | 14 |
| 15 namespace gfx { | 15 namespace gfx { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 if (g_get_proc_address) { | 138 if (g_get_proc_address) { |
| 139 void* proc = g_get_proc_address(name); | 139 void* proc = g_get_proc_address(name); |
| 140 if (proc) | 140 if (proc) |
| 141 return proc; | 141 return proc; |
| 142 } | 142 } |
| 143 | 143 |
| 144 return NULL; | 144 return NULL; |
| 145 } | 145 } |
| 146 | 146 |
| 147 } // namespace gfx | 147 } // namespace gfx |
| OLD | NEW |