| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 // GL window system binding version. "" if not available. | 130 // GL window system binding version. "" if not available. |
| 131 std::string gl_ws_version; | 131 std::string gl_ws_version; |
| 132 | 132 |
| 133 // GL window system binding extensions. "" if not available. | 133 // GL window system binding extensions. "" if not available. |
| 134 std::string gl_ws_extensions; | 134 std::string gl_ws_extensions; |
| 135 | 135 |
| 136 // GL reset notification strategy as defined by GL_ARB_robustness. 0 if GPU | 136 // GL reset notification strategy as defined by GL_ARB_robustness. 0 if GPU |
| 137 // reset detection or notification not available. | 137 // reset detection or notification not available. |
| 138 uint32 gl_reset_notification_strategy; | 138 uint32 gl_reset_notification_strategy; |
| 139 | 139 |
| 140 // True if the GPU process should use WARP on Windows. |
| 141 bool use_warp; |
| 142 |
| 140 // The device semantics, i.e. whether the Vista and Windows 7 specific | 143 // The device semantics, i.e. whether the Vista and Windows 7 specific |
| 141 // semantics are available. | 144 // semantics are available. |
| 142 bool can_lose_context; | 145 bool can_lose_context; |
| 143 | 146 |
| 144 // By default all values are 0. | 147 // By default all values are 0. |
| 145 GpuPerformanceStats performance_stats; | 148 GpuPerformanceStats performance_stats; |
| 146 | 149 |
| 147 bool software_rendering; | 150 bool software_rendering; |
| 148 | 151 |
| 149 // Whether the driver uses direct rendering. True on most platforms, false on | 152 // Whether the driver uses direct rendering. True on most platforms, false on |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 virtual ~Enumerator() {} | 196 virtual ~Enumerator() {} |
| 194 }; | 197 }; |
| 195 | 198 |
| 196 // Outputs the fields in this structure to the provided enumerator. | 199 // Outputs the fields in this structure to the provided enumerator. |
| 197 void EnumerateFields(Enumerator* enumerator) const; | 200 void EnumerateFields(Enumerator* enumerator) const; |
| 198 }; | 201 }; |
| 199 | 202 |
| 200 } // namespace gpu | 203 } // namespace gpu |
| 201 | 204 |
| 202 #endif // GPU_CONFIG_GPU_INFO_H_ | 205 #endif // GPU_CONFIG_GPU_INFO_H_ |
| OLD | NEW |