| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 bool optimus; | 131 bool optimus; |
| 132 | 132 |
| 133 // Computer has AMD Dynamic Switchable Graphics | 133 // Computer has AMD Dynamic Switchable Graphics |
| 134 bool amd_switchable; | 134 bool amd_switchable; |
| 135 | 135 |
| 136 // Lenovo dCute is installed. http://crbug.com/181665. | 136 // Lenovo dCute is installed. http://crbug.com/181665. |
| 137 bool lenovo_dcute; | 137 bool lenovo_dcute; |
| 138 | 138 |
| 139 // Version of DisplayLink driver installed. Zero if not installed. | 139 // Version of DisplayLink driver installed. Zero if not installed. |
| 140 // http://crbug.com/177611. | 140 // http://crbug.com/177611. |
| 141 Version display_link_version; | 141 base::Version display_link_version; |
| 142 | 142 |
| 143 // Primary GPU, for exmaple, the discrete GPU in a dual GPU machine. | 143 // Primary GPU, for exmaple, the discrete GPU in a dual GPU machine. |
| 144 GPUDevice gpu; | 144 GPUDevice gpu; |
| 145 | 145 |
| 146 // Secondary GPUs, for example, the integrated GPU in a dual GPU machine. | 146 // Secondary GPUs, for example, the integrated GPU in a dual GPU machine. |
| 147 std::vector<GPUDevice> secondary_gpus; | 147 std::vector<GPUDevice> secondary_gpus; |
| 148 | 148 |
| 149 // On Windows, the unique identifier of the adapter the GPU process uses. | 149 // On Windows, the unique identifier of the adapter the GPU process uses. |
| 150 // The default is zero, which makes the browser process create its D3D device | 150 // The default is zero, which makes the browser process create its D3D device |
| 151 // on the primary adapter. Note that the primary adapter can change at any | 151 // on the primary adapter. Note that the primary adapter can change at any |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 virtual ~Enumerator() {} | 287 virtual ~Enumerator() {} |
| 288 }; | 288 }; |
| 289 | 289 |
| 290 // Outputs the fields in this structure to the provided enumerator. | 290 // Outputs the fields in this structure to the provided enumerator. |
| 291 void EnumerateFields(Enumerator* enumerator) const; | 291 void EnumerateFields(Enumerator* enumerator) const; |
| 292 }; | 292 }; |
| 293 | 293 |
| 294 } // namespace gpu | 294 } // namespace gpu |
| 295 | 295 |
| 296 #endif // GPU_CONFIG_GPU_INFO_H_ | 296 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |