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 #include <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
8 #include "base/base_paths.h" | 8 #include "base/base_paths.h" |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/native_library.h" | 13 #include "base/native_library.h" |
14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
15 #include "base/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
16 #include "base/threading/thread_restrictions.h" | 16 #include "base/threading/thread_restrictions.h" |
17 #include "base/win/windows_version.h" | 17 #include "base/win/windows_version.h" |
18 #include "ui/gl/gl_bindings.h" | 18 #include "ui/gl/gl_bindings.h" |
19 #include "ui/gl/gl_egl_api_implementation.h" | 19 #include "ui/gl/gl_egl_api_implementation.h" |
20 #include "ui/gl/gl_gl_api_implementation.h" | 20 #include "ui/gl/gl_gl_api_implementation.h" |
21 #include "ui/gl/gl_implementation.h" | 21 #include "ui/gl/gl_implementation.h" |
22 #include "ui/gl/gl_osmesa_api_implementation.h" | 22 #include "ui/gl/gl_osmesa_api_implementation.h" |
23 #include "ui/gl/gl_wgl_api_implementation.h" | 23 #include "ui/gl/gl_wgl_api_implementation.h" |
24 | 24 |
25 #if defined(ENABLE_SWIFTSHADER) | 25 #if defined(ENABLE_SWIFTSHADER) |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 return GetGLWindowSystemBindingInfoWGL(info); | 280 return GetGLWindowSystemBindingInfoWGL(info); |
281 case kGLImplementationEGLGLES2: | 281 case kGLImplementationEGLGLES2: |
282 return GetGLWindowSystemBindingInfoEGL(info); | 282 return GetGLWindowSystemBindingInfoEGL(info); |
283 default: | 283 default: |
284 return false; | 284 return false; |
285 } | 285 } |
286 return false; | 286 return false; |
287 } | 287 } |
288 | 288 |
289 } // namespace gfx | 289 } // namespace gfx |
OLD | NEW |