| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 217 |
| 218 // Whether the gpu process is running in a sandbox. | 218 // Whether the gpu process is running in a sandbox. |
| 219 bool sandboxed; | 219 bool sandboxed; |
| 220 | 220 |
| 221 // Number of GPU process crashes recorded. | 221 // Number of GPU process crashes recorded. |
| 222 int process_crash_count; | 222 int process_crash_count; |
| 223 | 223 |
| 224 // True if the GPU is running in the browser process instead of its own. | 224 // True if the GPU is running in the browser process instead of its own. |
| 225 bool in_process_gpu; | 225 bool in_process_gpu; |
| 226 | 226 |
| 227 // True if the GPU process is using the passthrough command decoder. |
| 228 bool passthrough_cmd_decoder; |
| 229 |
| 227 // The state of whether the basic/context/DxDiagnostics info is collected and | 230 // The state of whether the basic/context/DxDiagnostics info is collected and |
| 228 // if the collection fails or not. | 231 // if the collection fails or not. |
| 229 CollectInfoResult basic_info_state; | 232 CollectInfoResult basic_info_state; |
| 230 CollectInfoResult context_info_state; | 233 CollectInfoResult context_info_state; |
| 231 #if defined(OS_WIN) | 234 #if defined(OS_WIN) |
| 232 CollectInfoResult dx_diagnostics_info_state; | 235 CollectInfoResult dx_diagnostics_info_state; |
| 233 | 236 |
| 234 // The information returned by the DirectX Diagnostics Tool. | 237 // The information returned by the DirectX Diagnostics Tool. |
| 235 DxDiagNode dx_diagnostics; | 238 DxDiagNode dx_diagnostics; |
| 236 #endif | 239 #endif |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 virtual ~Enumerator() {} | 291 virtual ~Enumerator() {} |
| 289 }; | 292 }; |
| 290 | 293 |
| 291 // Outputs the fields in this structure to the provided enumerator. | 294 // Outputs the fields in this structure to the provided enumerator. |
| 292 void EnumerateFields(Enumerator* enumerator) const; | 295 void EnumerateFields(Enumerator* enumerator) const; |
| 293 }; | 296 }; |
| 294 | 297 |
| 295 } // namespace gpu | 298 } // namespace gpu |
| 296 | 299 |
| 297 #endif // GPU_CONFIG_GPU_INFO_H_ | 300 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |