| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 void GetFeatureNames(base::ListValue* feature_names, | 317 void GetFeatureNames(base::ListValue* feature_names, |
| 318 const FeatureMap& feature_map, | 318 const FeatureMap& feature_map, |
| 319 bool supports_feature_type_all) const; | 319 bool supports_feature_type_all) const; |
| 320 | 320 |
| 321 private: | 321 private: |
| 322 friend class base::RefCounted<GpuControlListEntry>; | 322 friend class base::RefCounted<GpuControlListEntry>; |
| 323 | 323 |
| 324 enum MultiGpuStyle { | 324 enum MultiGpuStyle { |
| 325 kMultiGpuStyleOptimus, | 325 kMultiGpuStyleOptimus, |
| 326 kMultiGpuStyleAMDSwitchable, | 326 kMultiGpuStyleAMDSwitchable, |
| 327 kMultiGpuStyleAMDSwitchableIntegrated, |
| 328 kMultiGpuStyleAMDSwitchableDiscrete, |
| 327 kMultiGpuStyleNone | 329 kMultiGpuStyleNone |
| 328 }; | 330 }; |
| 329 | 331 |
| 330 enum MultiGpuCategory { | 332 enum MultiGpuCategory { |
| 331 // This entry applies if this is the primary GPU on the system. | 333 // This entry applies if this is the primary GPU on the system. |
| 332 kMultiGpuCategoryPrimary, | 334 kMultiGpuCategoryPrimary, |
| 333 // This entry applies if this is a secondary GPU on the system. | 335 // This entry applies if this is a secondary GPU on the system. |
| 334 kMultiGpuCategorySecondary, | 336 kMultiGpuCategorySecondary, |
| 335 // This entry applies if this is the active GPU on the system. | 337 // This entry applies if this is the active GPU on the system. |
| 336 kMultiGpuCategoryActive, | 338 kMultiGpuCategoryActive, |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 bool supports_feature_type_all_; | 510 bool supports_feature_type_all_; |
| 509 | 511 |
| 510 bool control_list_logging_enabled_; | 512 bool control_list_logging_enabled_; |
| 511 std::string control_list_logging_name_; | 513 std::string control_list_logging_name_; |
| 512 }; | 514 }; |
| 513 | 515 |
| 514 } // namespace gpu | 516 } // namespace gpu |
| 515 | 517 |
| 516 #endif // GPU_CONFIG_GPU_CONTROL_LIST_H_ | 518 #endif // GPU_CONFIG_GPU_CONTROL_LIST_H_ |
| 517 | 519 |
| OLD | NEW |