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

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

Issue 241223004: Enable GPU rasterization by default on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitelist N4, N5 Created 6 years, 8 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/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index 96cee0a12a2fa87d632fb63ccbe0f33003e73619..171ef768420a38c9ea653343553df8cd875ddf2a 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -272,18 +272,12 @@ bool IsGpuRasterizationEnabled() {
else if (command_line.HasSwitch(switches::kEnableGpuRasterization))
return true;
- if (command_line.HasSwitch(
- switches::kEnableBleedingEdgeRenderingFastPaths)) {
- return true;
- }
-
if (GpuDataManagerImpl::GetInstance()->IsFeatureBlacklisted(
gpu::GPU_FEATURE_TYPE_GPU_RASTERIZATION)) {
return false;
}
- // Change this to true to turn on the feature by default.
- return false;
+ return true;
}
bool IsForceGpuRasterizationEnabled() {
« no previous file with comments | « no previous file | gpu/config/software_rendering_list_json.cc » ('j') | gpu/config/software_rendering_list_json.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698