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

Unified Diff: content/browser/gpu/gpu_blacklist.cc

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_blacklist.cc
===================================================================
--- content/browser/gpu/gpu_blacklist.cc (revision 156326)
+++ content/browser/gpu/gpu_blacklist.cc (working copy)
@@ -794,7 +794,7 @@
const std::string& switching_string) {
GpuSwitchingOption switching = gpu_util::StringToGpuSwitchingOption(
switching_string);
- if (switching == content::GPU_SWITCHING_UNKNOWN)
+ if (switching == content::GPU_SWITCHING_OPTION_UNKNOWN)
return false;
decision_.gpu_switching = switching;
return true;
@@ -1036,7 +1036,7 @@
const content::GPUInfo& gpu_info) {
active_entries_.clear();
int type = 0;
- GpuSwitchingOption switching = content::GPU_SWITCHING_AUTOMATIC;
+ GpuSwitchingOption switching = content::GPU_SWITCHING_OPTION_AUTOMATIC;
if (os == kOsAny)
os = GetOsType();
@@ -1056,7 +1056,7 @@
if (!blacklist_[i]->disabled()) {
type |= blacklist_[i]->GetGpuFeatureType();
if (blacklist_[i]->GetGpuSwitchingOption() !=
- content::GPU_SWITCHING_AUTOMATIC)
+ content::GPU_SWITCHING_OPTION_AUTOMATIC)
switching = blacklist_[i]->GetGpuSwitchingOption();
}
active_entries_.push_back(blacklist_[i]);

Powered by Google App Engine
This is Rietveld 408576698