Chromium Code Reviews| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 199 // Whether the driver uses direct rendering. True on most platforms, false on | 199 // Whether the driver uses direct rendering. True on most platforms, false on |
| 200 // X11 when using remote X. | 200 // X11 when using remote X. |
| 201 bool direct_rendering; | 201 bool direct_rendering; |
| 202 | 202 |
| 203 // Whether the gpu process is running in a sandbox. | 203 // Whether the gpu process is running in a sandbox. |
| 204 bool sandboxed; | 204 bool sandboxed; |
| 205 | 205 |
| 206 // Number of GPU process crashes recorded. | 206 // Number of GPU process crashes recorded. |
| 207 int process_crash_count; | 207 int process_crash_count; |
| 208 | 208 |
| 209 // True if the GPU is running in the browser process instead of it's own. | |
| 210 bool in_process_gpu; | |
|
Mike West
2015/07/23 08:05:25
I initially read "In process GPU" as meaning "I'm
| |
| 211 | |
| 209 // The state of whether the basic/context/DxDiagnostics info is collected and | 212 // The state of whether the basic/context/DxDiagnostics info is collected and |
| 210 // if the collection fails or not. | 213 // if the collection fails or not. |
| 211 CollectInfoResult basic_info_state; | 214 CollectInfoResult basic_info_state; |
| 212 CollectInfoResult context_info_state; | 215 CollectInfoResult context_info_state; |
| 213 #if defined(OS_WIN) | 216 #if defined(OS_WIN) |
| 214 CollectInfoResult dx_diagnostics_info_state; | 217 CollectInfoResult dx_diagnostics_info_state; |
| 215 | 218 |
| 216 // The information returned by the DirectX Diagnostics Tool. | 219 // The information returned by the DirectX Diagnostics Tool. |
| 217 DxDiagNode dx_diagnostics; | 220 DxDiagNode dx_diagnostics; |
| 218 #endif | 221 #endif |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 264 virtual ~Enumerator() {} | 267 virtual ~Enumerator() {} |
| 265 }; | 268 }; |
| 266 | 269 |
| 267 // Outputs the fields in this structure to the provided enumerator. | 270 // Outputs the fields in this structure to the provided enumerator. |
| 268 void EnumerateFields(Enumerator* enumerator) const; | 271 void EnumerateFields(Enumerator* enumerator) const; |
| 269 }; | 272 }; |
| 270 | 273 |
| 271 } // namespace gpu | 274 } // namespace gpu |
| 272 | 275 |
| 273 #endif // GPU_CONFIG_GPU_INFO_H_ | 276 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |