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 #ifndef GPU_CONFIG_GPU_INFO_H_ | 5 #ifndef GPU_CONFIG_GPU_INFO_H_ |
6 #define GPU_CONFIG_GPU_INFO_H_ | 6 #define GPU_CONFIG_GPU_INFO_H_ |
7 | 7 |
8 // Provides access to the GPU information for the system | 8 // Provides access to the GPU information for the system |
9 // on which chrome is currently running. | 9 // on which chrome is currently running. |
10 | 10 |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 | 210 |
211 // Number of GPU process crashes recorded. | 211 // Number of GPU process crashes recorded. |
212 int process_crash_count; | 212 int process_crash_count; |
213 | 213 |
214 // True if the GPU is running in the browser process instead of its own. | 214 // True if the GPU is running in the browser process instead of its own. |
215 bool in_process_gpu; | 215 bool in_process_gpu; |
216 | 216 |
217 // True if the GPU process is using the passthrough command decoder. | 217 // True if the GPU process is using the passthrough command decoder. |
218 bool passthrough_cmd_decoder; | 218 bool passthrough_cmd_decoder; |
219 | 219 |
| 220 // True if the current set of outputs supports overlays. |
| 221 bool supports_overlays = false; |
| 222 |
220 // The state of whether the basic/context/DxDiagnostics info is collected and | 223 // The state of whether the basic/context/DxDiagnostics info is collected and |
221 // if the collection fails or not. | 224 // if the collection fails or not. |
222 CollectInfoResult basic_info_state; | 225 CollectInfoResult basic_info_state; |
223 CollectInfoResult context_info_state; | 226 CollectInfoResult context_info_state; |
224 #if defined(OS_WIN) | 227 #if defined(OS_WIN) |
225 CollectInfoResult dx_diagnostics_info_state; | 228 CollectInfoResult dx_diagnostics_info_state; |
226 | 229 |
227 // The information returned by the DirectX Diagnostics Tool. | 230 // The information returned by the DirectX Diagnostics Tool. |
228 DxDiagNode dx_diagnostics; | 231 DxDiagNode dx_diagnostics; |
229 #endif | 232 #endif |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 virtual ~Enumerator() {} | 284 virtual ~Enumerator() {} |
282 }; | 285 }; |
283 | 286 |
284 // Outputs the fields in this structure to the provided enumerator. | 287 // Outputs the fields in this structure to the provided enumerator. |
285 void EnumerateFields(Enumerator* enumerator) const; | 288 void EnumerateFields(Enumerator* enumerator) const; |
286 }; | 289 }; |
287 | 290 |
288 } // namespace gpu | 291 } // namespace gpu |
289 | 292 |
290 #endif // GPU_CONFIG_GPU_INFO_H_ | 293 #endif // GPU_CONFIG_GPU_INFO_H_ |
OLD | NEW |