| 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 | 131 |
| 132 // The date of the graphics driver currently installed. | 132 // The date of the graphics driver currently installed. |
| 133 std::string driver_date; | 133 std::string driver_date; |
| 134 | 134 |
| 135 // The version of the pixel/fragment shader used by the gpu. | 135 // The version of the pixel/fragment shader used by the gpu. |
| 136 std::string pixel_shader_version; | 136 std::string pixel_shader_version; |
| 137 | 137 |
| 138 // The version of the vertex shader used by the gpu. | 138 // The version of the vertex shader used by the gpu. |
| 139 std::string vertex_shader_version; | 139 std::string vertex_shader_version; |
| 140 | 140 |
| 141 // The maximum multisapling sample count, either through ES3 or |
| 142 // EXT_multisampled_render_to_texture MSAA. |
| 143 std::string max_msaa_samples; |
| 144 |
| 141 // The machine model identifier. They can contain any character, including | 145 // The machine model identifier. They can contain any character, including |
| 142 // whitespaces. Currently it is supported on MacOSX and Android. | 146 // whitespaces. Currently it is supported on MacOSX and Android. |
| 143 // Android examples: "Naxus 5", "XT1032". | 147 // Android examples: "Naxus 5", "XT1032". |
| 144 // On MacOSX, the version is stripped out of the model identifier, for | 148 // On MacOSX, the version is stripped out of the model identifier, for |
| 145 // example, the original identifier is "MacBookPro7,2", and we put | 149 // example, the original identifier is "MacBookPro7,2", and we put |
| 146 // "MacBookPro" as machine_model_name, and "7.2" as machine_model_version. | 150 // "MacBookPro" as machine_model_name, and "7.2" as machine_model_version. |
| 147 std::string machine_model_name; | 151 std::string machine_model_name; |
| 148 | 152 |
| 149 // The version of the machine model. Currently it is supported on MacOSX. | 153 // The version of the machine model. Currently it is supported on MacOSX. |
| 150 // See machine_model_name's comment. | 154 // See machine_model_name's comment. |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 virtual ~Enumerator() {} | 246 virtual ~Enumerator() {} |
| 243 }; | 247 }; |
| 244 | 248 |
| 245 // Outputs the fields in this structure to the provided enumerator. | 249 // Outputs the fields in this structure to the provided enumerator. |
| 246 void EnumerateFields(Enumerator* enumerator) const; | 250 void EnumerateFields(Enumerator* enumerator) const; |
| 247 }; | 251 }; |
| 248 | 252 |
| 249 } // namespace gpu | 253 } // namespace gpu |
| 250 | 254 |
| 251 #endif // GPU_CONFIG_GPU_INFO_H_ | 255 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |