Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: gpu/config/gpu_control_list.h

Issue 1925203002: Add exceptions to features in GpuControlList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gpu/config/gpu_control_list.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | gpu/config/gpu_control_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698