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

Unified Diff: gpu/config/gpu_util.cc

Issue 2771953002: Switch Low-end Android to DefaultEnableGpuRasterization trial (Closed)
Patch Set: Created 3 years, 9 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 | « gpu/config/gpu_finch_features.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_util.cc
diff --git a/gpu/config/gpu_util.cc b/gpu/config/gpu_util.cc
index 7846b88aedde5183159cf94a6fed3abba798efaa..45ad6b94ecf36e92cf44eecb1ba26988a7dbbec7 100644
--- a/gpu/config/gpu_util.cc
+++ b/gpu/config/gpu_util.cc
@@ -77,10 +77,10 @@ GpuFeatureStatus GetGpuRasterizationFeatureStatus(
return kGpuFeatureStatusBlacklisted;
#if defined(OS_ANDROID)
- // We can't use GPU rasterization on low-end devices, because the Ganesh
- // cache would consume too much memory.
- if (base::SysInfo::IsLowEndDevice())
- return kGpuFeatureStatusBlacklisted;
+ // GPU Raster is always enabled on non-low-end Android. On low-end, it is
+ // controlled by a Finch experiment.
+ if (!base::SysInfo::IsLowEndDevice())
+ return kGpuFeatureStatusEnabled;
#endif // defined(OS_ANDROID)
// Gpu Rasterization on platforms that are not fully enabled is controlled by
« no previous file with comments | « gpu/config/gpu_finch_features.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698