| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CONTROL_LIST_H_ | 5 #ifndef GPU_CONFIG_GPU_CONTROL_LIST_H_ |
| 6 #define GPU_CONFIG_GPU_CONTROL_LIST_H_ | 6 #define GPU_CONFIG_GPU_CONTROL_LIST_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 | 329 |
| 330 void SetDisabled(bool disabled); | 330 void SetDisabled(bool disabled); |
| 331 | 331 |
| 332 bool SetOsInfo(const std::string& os, | 332 bool SetOsInfo(const std::string& os, |
| 333 const std::string& version_op, | 333 const std::string& version_op, |
| 334 const std::string& version_string, | 334 const std::string& version_string, |
| 335 const std::string& version_string2); | 335 const std::string& version_string2); |
| 336 | 336 |
| 337 bool SetVendorId(const std::string& vendor_id_string); | 337 bool SetVendorId(const std::string& vendor_id_string); |
| 338 | 338 |
| 339 void SetVendorString(const std::string& vendor_string); |
| 340 |
| 339 bool AddDeviceId(const std::string& device_id_string); | 341 bool AddDeviceId(const std::string& device_id_string); |
| 340 | 342 |
| 343 void SetDeviceString(const std::string& device_string); |
| 344 |
| 341 bool SetMultiGpuStyle(const std::string& multi_gpu_style_string); | 345 bool SetMultiGpuStyle(const std::string& multi_gpu_style_string); |
| 342 | 346 |
| 343 bool SetMultiGpuCategory(const std::string& multi_gpu_category_string); | 347 bool SetMultiGpuCategory(const std::string& multi_gpu_category_string); |
| 344 | 348 |
| 345 bool SetGLType(const std::string& gl_type_string); | 349 bool SetGLType(const std::string& gl_type_string); |
| 346 | 350 |
| 347 bool SetDriverVendorInfo(const std::string& vendor_value); | 351 bool SetDriverVendorInfo(const std::string& vendor_value); |
| 348 | 352 |
| 349 bool SetDriverVersionInfo(const std::string& version_op, | 353 bool SetDriverVersionInfo(const std::string& version_op, |
| 350 const std::string& version_style, | 354 const std::string& version_style, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 // See GLType declaration. | 426 // See GLType declaration. |
| 423 static GLType GetDefaultGLType(); | 427 static GLType GetDefaultGLType(); |
| 424 | 428 |
| 425 uint32 id_; | 429 uint32 id_; |
| 426 bool disabled_; | 430 bool disabled_; |
| 427 std::string description_; | 431 std::string description_; |
| 428 std::vector<int> cr_bugs_; | 432 std::vector<int> cr_bugs_; |
| 429 std::vector<int> webkit_bugs_; | 433 std::vector<int> webkit_bugs_; |
| 430 scoped_ptr<OsInfo> os_info_; | 434 scoped_ptr<OsInfo> os_info_; |
| 431 uint32 vendor_id_; | 435 uint32 vendor_id_; |
| 436 std::string vendor_string_; |
| 432 std::vector<uint32> device_id_list_; | 437 std::vector<uint32> device_id_list_; |
| 438 std::string device_string_; |
| 433 MultiGpuStyle multi_gpu_style_; | 439 MultiGpuStyle multi_gpu_style_; |
| 434 MultiGpuCategory multi_gpu_category_; | 440 MultiGpuCategory multi_gpu_category_; |
| 435 GLType gl_type_; | 441 GLType gl_type_; |
| 436 std::string driver_vendor_info_; | 442 std::string driver_vendor_info_; |
| 437 scoped_ptr<VersionInfo> driver_version_info_; | 443 scoped_ptr<VersionInfo> driver_version_info_; |
| 438 scoped_ptr<VersionInfo> driver_date_info_; | 444 scoped_ptr<VersionInfo> driver_date_info_; |
| 439 scoped_ptr<VersionInfo> gl_version_info_; | 445 scoped_ptr<VersionInfo> gl_version_info_; |
| 440 std::string gl_vendor_info_; | 446 std::string gl_vendor_info_; |
| 441 std::string gl_renderer_info_; | 447 std::string gl_renderer_info_; |
| 442 std::string gl_extensions_info_; | 448 std::string gl_extensions_info_; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 FeatureMap feature_map_; | 484 FeatureMap feature_map_; |
| 479 bool supports_feature_type_all_; | 485 bool supports_feature_type_all_; |
| 480 | 486 |
| 481 bool control_list_logging_enabled_; | 487 bool control_list_logging_enabled_; |
| 482 std::string control_list_logging_name_; | 488 std::string control_list_logging_name_; |
| 483 }; | 489 }; |
| 484 | 490 |
| 485 } // namespace gpu | 491 } // namespace gpu |
| 486 | 492 |
| 487 #endif // GPU_CONFIG_GPU_CONTROL_LIST_H_ | 493 #endif // GPU_CONFIG_GPU_CONTROL_LIST_H_ |
| 488 | |
| OLD | NEW |