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

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

Issue 963963002: cc: Add kDisableGpuRasterization to content_shell for layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge - update version # again Created 5 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 98cbf615da9a4bcb4b89c62b4f95a5ae5e37296e..0696d1e2a0c5090464033da4188e1193e8aecca9 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -285,7 +285,13 @@ bool IsGpuRasterizationEnabled() {
return false;
}
+#if defined(OS_ANDROID)
return true;
+#endif
+
+ // explicitly disable GPU rasterization on all non-android devices until we
+ // have full test coverage.
+ return false;
}
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