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 "gpu/config/gpu_info.h" | 5 #include "gpu/config/gpu_info.h" |
6 | 6 |
7 namespace { | 7 namespace { |
8 | 8 |
9 void EnumerateGPUDevice(const gpu::GPUInfo::GPUDevice& device, | 9 void EnumerateGPUDevice(const gpu::GPUInfo::GPUDevice& device, |
10 gpu::GPUInfo::Enumerator* enumerator) { | 10 gpu::GPUInfo::Enumerator* enumerator) { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 std::string gl_ws_vendor; | 101 std::string gl_ws_vendor; |
102 std::string gl_ws_version; | 102 std::string gl_ws_version; |
103 std::string gl_ws_extensions; | 103 std::string gl_ws_extensions; |
104 uint32 gl_reset_notification_strategy; | 104 uint32 gl_reset_notification_strategy; |
105 bool can_lose_context; | 105 bool can_lose_context; |
106 bool software_rendering; | 106 bool software_rendering; |
107 bool direct_rendering; | 107 bool direct_rendering; |
108 bool sandboxed; | 108 bool sandboxed; |
109 int process_crash_count; | 109 int process_crash_count; |
110 bool in_process_gpu; | 110 bool in_process_gpu; |
| 111 std::set<int> gpu_driver_bugs_workarounds; |
111 CollectInfoResult basic_info_state; | 112 CollectInfoResult basic_info_state; |
112 CollectInfoResult context_info_state; | 113 CollectInfoResult context_info_state; |
113 #if defined(OS_WIN) | 114 #if defined(OS_WIN) |
114 CollectInfoResult dx_diagnostics_info_state; | 115 CollectInfoResult dx_diagnostics_info_state; |
115 DxDiagNode dx_diagnostics; | 116 DxDiagNode dx_diagnostics; |
116 #endif | 117 #endif |
117 VideoDecodeAcceleratorSupportedProfiles | 118 VideoDecodeAcceleratorSupportedProfiles |
118 video_decode_accelerator_supported_profiles; | 119 video_decode_accelerator_supported_profiles; |
119 VideoEncodeAcceleratorSupportedProfiles | 120 VideoEncodeAcceleratorSupportedProfiles |
120 video_encode_accelerator_supported_profiles; | 121 video_encode_accelerator_supported_profiles; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 for (const auto& profile : video_decode_accelerator_supported_profiles) | 179 for (const auto& profile : video_decode_accelerator_supported_profiles) |
179 EnumerateVideoDecodeAcceleratorSupportedProfile(profile, enumerator); | 180 EnumerateVideoDecodeAcceleratorSupportedProfile(profile, enumerator); |
180 for (const auto& profile : video_encode_accelerator_supported_profiles) | 181 for (const auto& profile : video_encode_accelerator_supported_profiles) |
181 EnumerateVideoEncodeAcceleratorSupportedProfile(profile, enumerator); | 182 EnumerateVideoEncodeAcceleratorSupportedProfile(profile, enumerator); |
182 enumerator->AddBool("jpegDecodeAcceleratorSupported", | 183 enumerator->AddBool("jpegDecodeAcceleratorSupported", |
183 jpeg_decode_accelerator_supported); | 184 jpeg_decode_accelerator_supported); |
184 enumerator->EndAuxAttributes(); | 185 enumerator->EndAuxAttributes(); |
185 } | 186 } |
186 | 187 |
187 } // namespace gpu | 188 } // namespace gpu |
OLD | NEW |