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 "content/browser/gpu/compositor_util.h" | 5 #include "content/browser/gpu/compositor_util.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" |
9 #include "base/metrics/field_trial.h" | 12 #include "base/metrics/field_trial.h" |
10 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
11 #include "base/sys_info.h" | 14 #include "base/sys_info.h" |
12 #include "build/build_config.h" | 15 #include "build/build_config.h" |
13 #include "cc/base/math_util.h" | 16 #include "cc/base/math_util.h" |
14 #include "cc/base/switches.h" | 17 #include "cc/base/switches.h" |
15 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" | 18 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" |
16 #include "content/browser/gpu/gpu_data_manager_impl.h" | 19 #include "content/browser/gpu/gpu_data_manager_impl.h" |
17 #include "content/public/common/content_switches.h" | 20 #include "content/public/common/content_switches.h" |
18 #include "gpu/config/gpu_feature_type.h" | 21 #include "gpu/config/gpu_feature_type.h" |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 } | 414 } |
412 } | 415 } |
413 return problem_list; | 416 return problem_list; |
414 } | 417 } |
415 | 418 |
416 std::vector<std::string> GetDriverBugWorkarounds() { | 419 std::vector<std::string> GetDriverBugWorkarounds() { |
417 return GpuDataManagerImpl::GetInstance()->GetDriverBugWorkarounds(); | 420 return GpuDataManagerImpl::GetInstance()->GetDriverBugWorkarounds(); |
418 } | 421 } |
419 | 422 |
420 } // namespace content | 423 } // namespace content |
OLD | NEW |