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

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: --enable-bleeding-edge-rendering-fast-paths should not bypass blacklist 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
« no previous file with comments | « no previous file | gpu/config/software_rendering_list_json.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d9279fd2799a97e1212f488b64d4e29e7540ba16 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -272,18 +272,21 @@ 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.
+ if (command_line.HasSwitch(
+ switches::kEnableBleedingEdgeRenderingFastPaths)) {
+ return true;
+ }
+
+#if defined(OS_ANDROID)
+ return true;
+#else
return false;
+#endif
Zhenyao Mo 2014/04/17 21:24:14 remove this
ajuma 2014/04/17 22:04:00 Done.
}
bool IsForceGpuRasterizationEnabled() {
« no previous file with comments | « no previous file | gpu/config/software_rendering_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698