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

Unified Diff: content/browser/gpu/gpu_util.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_util.h
===================================================================
--- content/browser/gpu/gpu_util.h (revision 156195)
+++ content/browser/gpu/gpu_util.h (working copy)
@@ -27,6 +27,11 @@
CONTENT_EXPORT std::string GpuFeatureTypeToString(
content::GpuFeatureType feature);
+// Maps string to GpuSwitchingOption; returns GPU_SWITCHING_UNKNOWN if an
+// unknown name is input (case-sensitive).
+CONTENT_EXPORT content::GpuSwitchingOption StringToGpuSwitchingOption(
+ const std::string& switching_string);
+
// Send UMA histograms about the enabled features.
CONTENT_EXPORT void UpdateStats(
const GpuBlacklist* blacklist, uint32 blacklisted_features);

Powered by Google App Engine
This is Rietveld 408576698