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

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

Issue 10909221: Implement blacklist's force GPU capability in dual GPU machines. (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 156326)
+++ content/browser/gpu/gpu_util.h (working copy)
@@ -11,6 +11,7 @@
#include "build/build_config.h"
#include "content/common/content_export.h"
#include "content/public/common/gpu_feature_type.h"
+#include "content/public/common/gpu_switching_option.h"
class GpuBlacklist;
@@ -32,6 +33,10 @@
CONTENT_EXPORT content::GpuSwitchingOption StringToGpuSwitchingOption(
const std::string& switching_string);
+// Gets a string version of a GpuSwitchingOption.
+CONTENT_EXPORT std::string GpuSwitchingOptionToString(
+ content::GpuSwitchingOption option);
+
// 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