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

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: Created 7 years, 4 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
« cc/trees/layer_tree_settings.cc ('K') | « 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 1bd1f6b95d9db1927cbdb08529964b0494d9bc22..546f0ac86eac89157d1de5f24da07276e2de3231 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -269,11 +269,6 @@ void ApplyAndroidWorkarounds(const gpu::GPUInfo& gpu_info,
gpu_info.gl_extensions.find("GL_VIV_shader_binary") !=
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;
-
// IMG: avoid context switching perf problems, crashes with share groups
// Mali-T604: http://crbug.com/154715
// QualComm, NVIDIA: Crashes with share groups
@@ -318,14 +313,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
« cc/trees/layer_tree_settings.cc ('K') | « cc/trees/layer_tree_settings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698