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 16 matching lines...) Expand all Loading... |
27 // Whether more GPUInfo fields might be collected in the future. | 27 // Whether more GPUInfo fields might be collected in the future. |
28 bool finalized; | 28 bool finalized; |
29 | 29 |
30 // The amount of time taken to get from the process starting to the message | 30 // The amount of time taken to get from the process starting to the message |
31 // loop being pumped. | 31 // loop being pumped. |
32 base::TimeDelta initialization_time; | 32 base::TimeDelta initialization_time; |
33 | 33 |
34 // Computer has NVIDIA Optimus | 34 // Computer has NVIDIA Optimus |
35 bool optimus; | 35 bool optimus; |
36 | 36 |
| 37 // Computer has AMD Dynamic Switchable Graphics |
| 38 bool amd_switchable; |
| 39 |
37 // The DWORD (uint32) representing the graphics card vendor id. | 40 // The DWORD (uint32) representing the graphics card vendor id. |
38 uint32 vendor_id; | 41 uint32 vendor_id; |
39 | 42 |
40 // The DWORD (uint32) representing the graphics card device id. Device ids | 43 // The DWORD (uint32) representing the graphics card device id. Device ids |
41 // are unique to vendor, not to one another. | 44 // are unique to vendor, not to one another. |
42 uint32 device_id; | 45 uint32 device_id; |
43 | 46 |
44 // The vendor of the graphics driver currently installed. | 47 // The vendor of the graphics driver currently installed. |
45 std::string driver_vendor; | 48 std::string driver_vendor; |
46 | 49 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 89 |
87 #if defined(OS_WIN) | 90 #if defined(OS_WIN) |
88 // The information returned by the DirectX Diagnostics Tool. | 91 // The information returned by the DirectX Diagnostics Tool. |
89 DxDiagNode dx_diagnostics; | 92 DxDiagNode dx_diagnostics; |
90 #endif | 93 #endif |
91 }; | 94 }; |
92 | 95 |
93 } // namespace content | 96 } // namespace content |
94 | 97 |
95 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ | 98 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ |
OLD | NEW |