| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 bool optimus; | 59 bool optimus; |
| 60 | 60 |
| 61 // Computer has AMD Dynamic Switchable Graphics | 61 // Computer has AMD Dynamic Switchable Graphics |
| 62 bool amd_switchable; | 62 bool amd_switchable; |
| 63 | 63 |
| 64 // Lenovo dCute is installed. http://crbug.com/181665. | 64 // Lenovo dCute is installed. http://crbug.com/181665. |
| 65 bool lenovo_dcute; | 65 bool lenovo_dcute; |
| 66 | 66 |
| 67 // Version of DisplayLink driver installed. Zero if not installed. | 67 // Version of DisplayLink driver installed. Zero if not installed. |
| 68 // http://crbug.com/177611. | 68 // http://crbug.com/177611. |
| 69 base::Version display_link_version; | 69 Version display_link_version; |
| 70 | 70 |
| 71 // Primary GPU, for exmaple, the discrete GPU in a dual GPU machine. | 71 // Primary GPU, for exmaple, the discrete GPU in a dual GPU machine. |
| 72 GPUDevice gpu; | 72 GPUDevice gpu; |
| 73 | 73 |
| 74 // Secondary GPUs, for example, the integrated GPU in a dual GPU machine. | 74 // Secondary GPUs, for example, the integrated GPU in a dual GPU machine. |
| 75 std::vector<GPUDevice> secondary_gpus; | 75 std::vector<GPUDevice> secondary_gpus; |
| 76 | 76 |
| 77 // On Windows, the unique identifier of the adapter the GPU process uses. | 77 // On Windows, the unique identifier of the adapter the GPU process uses. |
| 78 // The default is zero, which makes the browser process create its D3D device | 78 // The default is zero, which makes the browser process create its D3D device |
| 79 // on the primary adapter. Note that the primary adapter can change at any | 79 // on the primary adapter. Note that the primary adapter can change at any |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 virtual ~Enumerator() {} | 178 virtual ~Enumerator() {} |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 // Outputs the fields in this structure to the provided enumerator. | 181 // Outputs the fields in this structure to the provided enumerator. |
| 182 void EnumerateFields(Enumerator* enumerator) const; | 182 void EnumerateFields(Enumerator* enumerator) const; |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 } // namespace gpu | 185 } // namespace gpu |
| 186 | 186 |
| 187 #endif // GPU_CONFIG_GPU_INFO_H_ | 187 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |