| 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/debug/trace_event.h" | |
| 12 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 13 #include "base/logging.h" | 12 #include "base/logging.h" |
| 14 #include "base/native_library.h" | 13 #include "base/native_library.h" |
| 15 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 16 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
| 17 #include "base/threading/thread_restrictions.h" | 16 #include "base/threading/thread_restrictions.h" |
| 17 #include "base/trace_event/trace_event.h" |
| 18 #include "base/win/windows_version.h" | 18 #include "base/win/windows_version.h" |
| 19 #include "ui/gl/gl_bindings.h" | 19 #include "ui/gl/gl_bindings.h" |
| 20 #include "ui/gl/gl_context_stub_with_extensions.h" | 20 #include "ui/gl/gl_context_stub_with_extensions.h" |
| 21 #include "ui/gl/gl_egl_api_implementation.h" | 21 #include "ui/gl/gl_egl_api_implementation.h" |
| 22 #include "ui/gl/gl_gl_api_implementation.h" | 22 #include "ui/gl/gl_gl_api_implementation.h" |
| 23 #include "ui/gl/gl_implementation.h" | 23 #include "ui/gl/gl_implementation.h" |
| 24 #include "ui/gl/gl_osmesa_api_implementation.h" | 24 #include "ui/gl/gl_osmesa_api_implementation.h" |
| 25 #include "ui/gl/gl_surface_wgl.h" | 25 #include "ui/gl/gl_surface_wgl.h" |
| 26 #include "ui/gl/gl_wgl_api_implementation.h" | 26 #include "ui/gl/gl_wgl_api_implementation.h" |
| 27 | 27 |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 case kGLImplementationDesktopGL: | 368 case kGLImplementationDesktopGL: |
| 369 return GetGLWindowSystemBindingInfoWGL(info); | 369 return GetGLWindowSystemBindingInfoWGL(info); |
| 370 case kGLImplementationEGLGLES2: | 370 case kGLImplementationEGLGLES2: |
| 371 return GetGLWindowSystemBindingInfoEGL(info); | 371 return GetGLWindowSystemBindingInfoEGL(info); |
| 372 default: | 372 default: |
| 373 return false; | 373 return false; |
| 374 } | 374 } |
| 375 } | 375 } |
| 376 | 376 |
| 377 } // namespace gfx | 377 } // namespace gfx |
| OLD | NEW |