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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 bool optimus; | 112 bool optimus; |
113 | 113 |
114 // Computer has AMD Dynamic Switchable Graphics | 114 // Computer has AMD Dynamic Switchable Graphics |
115 bool amd_switchable; | 115 bool amd_switchable; |
116 | 116 |
117 // Lenovo dCute is installed. http://crbug.com/181665. | 117 // Lenovo dCute is installed. http://crbug.com/181665. |
118 bool lenovo_dcute; | 118 bool lenovo_dcute; |
119 | 119 |
120 // Version of DisplayLink driver installed. Zero if not installed. | 120 // Version of DisplayLink driver installed. Zero if not installed. |
121 // http://crbug.com/177611. | 121 // http://crbug.com/177611. |
122 base::Version display_link_version; | 122 Version display_link_version; |
123 | 123 |
124 // Primary GPU, for exmaple, the discrete GPU in a dual GPU machine. | 124 // Primary GPU, for exmaple, the discrete GPU in a dual GPU machine. |
125 GPUDevice gpu; | 125 GPUDevice gpu; |
126 | 126 |
127 // Secondary GPUs, for example, the integrated GPU in a dual GPU machine. | 127 // Secondary GPUs, for example, the integrated GPU in a dual GPU machine. |
128 std::vector<GPUDevice> secondary_gpus; | 128 std::vector<GPUDevice> secondary_gpus; |
129 | 129 |
130 // On Windows, the unique identifier of the adapter the GPU process uses. | 130 // On Windows, the unique identifier of the adapter the GPU process uses. |
131 // The default is zero, which makes the browser process create its D3D device | 131 // The default is zero, which makes the browser process create its D3D device |
132 // on the primary adapter. Note that the primary adapter can change at any | 132 // on the primary adapter. Note that the primary adapter can change at any |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 virtual ~Enumerator() {} | 269 virtual ~Enumerator() {} |
270 }; | 270 }; |
271 | 271 |
272 // Outputs the fields in this structure to the provided enumerator. | 272 // Outputs the fields in this structure to the provided enumerator. |
273 void EnumerateFields(Enumerator* enumerator) const; | 273 void EnumerateFields(Enumerator* enumerator) const; |
274 }; | 274 }; |
275 | 275 |
276 } // namespace gpu | 276 } // namespace gpu |
277 | 277 |
278 #endif // GPU_CONFIG_GPU_INFO_H_ | 278 #endif // GPU_CONFIG_GPU_INFO_H_ |
OLD | NEW |