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

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

Issue 22144008: cc: Make 1/4th default low res scale. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase#2 Created 7 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
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager_impl_private.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
index 2a82137a58a52c90a690891f13b78e92af68e3a8..4d83390227021478d08a161d8469e912f6c3c2c4 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -258,10 +258,6 @@ void ApplyAndroidWorkarounds(const gpu::GPUInfo& gpu_info,
std::string renderer(StringToLowerASCII(gpu_info.gl_renderer));
bool is_img =
gpu_info.gl_vendor.find("Imagination") != std::string::npos;
- bool is_nexus7 =
- gpu_info.machine_model.find("Nexus 7") != std::string::npos;
- bool is_nexus10 =
- gpu_info.machine_model.find("Nexus 10") != std::string::npos;
gfx::DeviceDisplayInfo info;
int default_tile_size = 256;
@@ -300,14 +296,6 @@ void ApplyAndroidWorkarounds(const gpu::GPUInfo& gpu_info,
command_line->AppendSwitchASCII(
switches::kDefaultTileHeight, size.str());
}
-
- // Increase the resolution of low resolution tiles for Nexus tablets.
- if ((is_nexus7 || is_nexus10) &&
- !command_line->HasSwitch(
- cc::switches::kLowResolutionContentsScaleFactor)) {
- command_line->AppendSwitchASCII(
- cc::switches::kLowResolutionContentsScaleFactor, "0.25");
- }
}
#endif // OS_ANDROID
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698