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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
216 | 216 |
217 // True if the GPU is running in the browser process instead of its own. | 217 // True if the GPU is running in the browser process instead of its own. |
218 bool in_process_gpu; | 218 bool in_process_gpu; |
219 | 219 |
220 // True if the GPU process is using the passthrough command decoder. | 220 // True if the GPU process is using the passthrough command decoder. |
221 bool passthrough_cmd_decoder; | 221 bool passthrough_cmd_decoder; |
222 | 222 |
223 // True if the current set of outputs supports overlays. | 223 // True if the current set of outputs supports overlays. |
224 bool supports_overlays = false; | 224 bool supports_overlays = false; |
225 | 225 |
226 // True if the current set of outputs supports HDR. | |
227 bool hdr = false; | |
jbauman
2017/06/15 21:44:59
Add this to MergeGPUInfoGL, GPUInfo::EnumerateFiel
hubbe
2017/06/20 23:09:34
Done.
| |
228 | |
226 // The state of whether the basic/context/DxDiagnostics info is collected and | 229 // The state of whether the basic/context/DxDiagnostics info is collected and |
227 // if the collection fails or not. | 230 // if the collection fails or not. |
228 CollectInfoResult basic_info_state; | 231 CollectInfoResult basic_info_state; |
229 CollectInfoResult context_info_state; | 232 CollectInfoResult context_info_state; |
230 #if defined(OS_WIN) | 233 #if defined(OS_WIN) |
231 CollectInfoResult dx_diagnostics_info_state; | 234 CollectInfoResult dx_diagnostics_info_state; |
232 | 235 |
233 // The information returned by the DirectX Diagnostics Tool. | 236 // The information returned by the DirectX Diagnostics Tool. |
234 DxDiagNode dx_diagnostics; | 237 DxDiagNode dx_diagnostics; |
235 #endif | 238 #endif |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
287 virtual ~Enumerator() {} | 290 virtual ~Enumerator() {} |
288 }; | 291 }; |
289 | 292 |
290 // Outputs the fields in this structure to the provided enumerator. | 293 // Outputs the fields in this structure to the provided enumerator. |
291 void EnumerateFields(Enumerator* enumerator) const; | 294 void EnumerateFields(Enumerator* enumerator) const; |
292 }; | 295 }; |
293 | 296 |
294 } // namespace gpu | 297 } // namespace gpu |
295 | 298 |
296 #endif // GPU_CONFIG_GPU_INFO_H_ | 299 #endif // GPU_CONFIG_GPU_INFO_H_ |
OLD | NEW |