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 CONTENT_PUBLIC_COMMON_GPU_INFO_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_GPU_INFO_H_ |
6 #define CONTENT_PUBLIC_COMMON_GPU_INFO_H_ | 6 #define CONTENT_PUBLIC_COMMON_GPU_INFO_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // Provides access to the GPU information for the system | 9 // Provides access to the GPU information for the system |
10 // on which chrome is currently running. | 10 // on which chrome is currently running. |
(...skipping 15 matching lines...) Expand all Loading... |
26 // Whether more GPUInfo fields might be collected in the future. | 26 // Whether more GPUInfo fields might be collected in the future. |
27 bool finalized; | 27 bool finalized; |
28 | 28 |
29 // The amount of time taken to get from the process starting to the message | 29 // The amount of time taken to get from the process starting to the message |
30 // loop being pumped. | 30 // loop being pumped. |
31 base::TimeDelta initialization_time; | 31 base::TimeDelta initialization_time; |
32 | 32 |
33 // Computer has NVIDIA Optimus | 33 // Computer has NVIDIA Optimus |
34 bool optimus; | 34 bool optimus; |
35 | 35 |
| 36 // Computer has AMD Dynamic Switchable Graphics |
| 37 bool amd_switchable; |
| 38 |
36 // The DWORD (uint32) representing the graphics card vendor id. | 39 // The DWORD (uint32) representing the graphics card vendor id. |
37 uint32 vendor_id; | 40 uint32 vendor_id; |
38 | 41 |
39 // The DWORD (uint32) representing the graphics card device id. Device ids | 42 // The DWORD (uint32) representing the graphics card device id. Device ids |
40 // are unique to vendor, not to one another. | 43 // are unique to vendor, not to one another. |
41 uint32 device_id; | 44 uint32 device_id; |
42 | 45 |
43 // The vendor of the graphics driver currently installed. | 46 // The vendor of the graphics driver currently installed. |
44 std::string driver_vendor; | 47 std::string driver_vendor; |
45 | 48 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 80 |
78 #if defined(OS_WIN) | 81 #if defined(OS_WIN) |
79 // The information returned by the DirectX Diagnostics Tool. | 82 // The information returned by the DirectX Diagnostics Tool. |
80 DxDiagNode dx_diagnostics; | 83 DxDiagNode dx_diagnostics; |
81 #endif | 84 #endif |
82 }; | 85 }; |
83 | 86 |
84 } // namespace content | 87 } // namespace content |
85 | 88 |
86 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ | 89 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ |
OLD | NEW |