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> | 7 #include <stddef.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/feature_list.h" | 12 #include "base/feature_list.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
16 #include "base/metrics/field_trial.h" | 16 #include "base/metrics/field_trial.h" |
17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
18 #include "base/sys_info.h" | 18 #include "base/sys_info.h" |
19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
20 #include "cc/base/math_util.h" | 20 #include "cc/base/math_util.h" |
21 #include "cc/base/switches.h" | 21 #include "cc/base/switches.h" |
22 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" | |
23 #include "content/browser/gpu/gpu_data_manager_impl.h" | 22 #include "content/browser/gpu/gpu_data_manager_impl.h" |
24 #include "content/public/browser/gpu_utils.h" | 23 #include "content/public/browser/gpu_utils.h" |
25 #include "content/public/common/content_features.h" | 24 #include "content/public/common/content_features.h" |
26 #include "content/public/common/content_switches.h" | 25 #include "content/public/common/content_switches.h" |
27 #include "gpu/config/gpu_feature_type.h" | 26 #include "gpu/config/gpu_feature_type.h" |
28 #include "gpu/ipc/host/gpu_memory_buffer_support.h" | 27 #include "gpu/ipc/host/gpu_memory_buffer_support.h" |
29 #include "media/media_features.h" | 28 #include "media/media_features.h" |
30 #include "ui/gl/gl_switches.h" | 29 #include "ui/gl/gl_switches.h" |
31 | 30 |
32 namespace content { | 31 namespace content { |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 } | 395 } |
397 } | 396 } |
398 return problem_list; | 397 return problem_list; |
399 } | 398 } |
400 | 399 |
401 std::vector<std::string> GetDriverBugWorkarounds() { | 400 std::vector<std::string> GetDriverBugWorkarounds() { |
402 return GpuDataManagerImpl::GetInstance()->GetDriverBugWorkarounds(); | 401 return GpuDataManagerImpl::GetInstance()->GetDriverBugWorkarounds(); |
403 } | 402 } |
404 | 403 |
405 } // namespace content | 404 } // namespace content |
OLD | NEW |