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

Unified Diff: content/browser/gpu/gpu_data_manager_impl.h

Issue 10915219: Add capability for GPU blacklist to manage GPU switching. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/gpu/gpu_data_manager_impl.h
===================================================================
--- content/browser/gpu/gpu_data_manager_impl.h (revision 156195)
+++ content/browser/gpu/gpu_data_manager_impl.h (working copy)
@@ -38,6 +38,7 @@
const std::string& gpu_blacklist_json,
const content::GPUInfo& gpu_info) OVERRIDE;
virtual content::GpuFeatureType GetBlacklistedFeatures() const OVERRIDE;
+ virtual content::GpuSwitchingOption GetGpuSwitchingOption() const OVERRIDE;
virtual base::ListValue* GetBlacklistReasons() const OVERRIDE;
virtual std::string GetBlacklistVersion() const OVERRIDE;
virtual content::GPUInfo GetGPUInfo() const OVERRIDE;
@@ -120,6 +121,8 @@
content::GpuFeatureType gpu_feature_type_;
content::GpuFeatureType preliminary_gpu_feature_type_;
+ content::GpuSwitchingOption gpu_switching_;
+
content::GPUInfo gpu_info_;
mutable base::Lock gpu_info_lock_;

Powered by Google App Engine
This is Rietveld 408576698