| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 const std::string& version_string2); | 397 const std::string& version_string2); |
| 398 | 398 |
| 399 bool SetGpuCountInfo(const std::string& op, | 399 bool SetGpuCountInfo(const std::string& op, |
| 400 const std::string& int_string, | 400 const std::string& int_string, |
| 401 const std::string& int_string2); | 401 const std::string& int_string2); |
| 402 | 402 |
| 403 void SetDirectRenderingInfo(bool value); | 403 void SetDirectRenderingInfo(bool value); |
| 404 void SetInProcessGPUInfo(bool value); | 404 void SetInProcessGPUInfo(bool value); |
| 405 | 405 |
| 406 bool SetFeatures(const std::vector<std::string>& features, | 406 bool SetFeatures(const std::vector<std::string>& features, |
| 407 const std::vector<std::string>& exceptions, |
| 407 const FeatureMap& feature_map, | 408 const FeatureMap& feature_map, |
| 408 bool supports_feature_type_all); | 409 bool supports_feature_type_all); |
| 409 | 410 |
| 410 void AddException(ScopedGpuControlListEntry exception); | 411 void AddException(ScopedGpuControlListEntry exception); |
| 411 | 412 |
| 412 // Return true if GL_VERSION string does not fit the entry info | 413 // Return true if GL_VERSION string does not fit the entry info |
| 413 // on GL type and GL version. | 414 // on GL type and GL version. |
| 414 bool GLVersionInfoMismatch(const std::string& gl_version) const; | 415 bool GLVersionInfoMismatch(const std::string& gl_version) const; |
| 415 | 416 |
| 416 static MultiGpuStyle StringToMultiGpuStyle(const std::string& style); | 417 static MultiGpuStyle StringToMultiGpuStyle(const std::string& style); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 bool supports_feature_type_all_; | 490 bool supports_feature_type_all_; |
| 490 | 491 |
| 491 bool control_list_logging_enabled_; | 492 bool control_list_logging_enabled_; |
| 492 std::string control_list_logging_name_; | 493 std::string control_list_logging_name_; |
| 493 }; | 494 }; |
| 494 | 495 |
| 495 } // namespace gpu | 496 } // namespace gpu |
| 496 | 497 |
| 497 #endif // GPU_CONFIG_GPU_CONTROL_LIST_H_ | 498 #endif // GPU_CONFIG_GPU_CONTROL_LIST_H_ |
| 498 | 499 |
| OLD | NEW |