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

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

Issue 338183005: Add semantics to apply gpu blakclist to AMD swichable when a discrete/integrated GPU is in use (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« 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 <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
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
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
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