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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: fix win clang build Created 3 years, 10 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 | « content/renderer/gpu/compositor_dependencies.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index df35d608f3048add0b33404d33efbbace8f39a5e..7b818abb555a4131e83cd66c173a4d60c96d80b2 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -313,8 +313,6 @@ cc::LayerTreeSettings RenderWidgetCompositor::GenerateLayerTreeSettings(
compositor_deps->GetGpuRasterizationMSAASampleCount();
settings.gpu_rasterization_forced =
compositor_deps->IsGpuRasterizationForced();
- settings.gpu_rasterization_enabled =
- compositor_deps->IsGpuRasterizationEnabled();
settings.async_worker_context_enabled =
compositor_deps->IsAsyncWorkerContextEnabled();
@@ -381,10 +379,6 @@ cc::LayerTreeSettings RenderWidgetCompositor::GenerateLayerTreeSettings(
bool using_synchronous_compositor =
GetContentClient()->UsingSynchronousCompositing();
- // We can't use GPU rasterization on low-end devices, because the Ganesh
- // cache would consume too much memory.
- if (base::SysInfo::IsLowEndDevice())
- settings.gpu_rasterization_enabled = false;
settings.using_synchronous_renderer_compositor = using_synchronous_compositor;
if (using_synchronous_compositor) {
// Android WebView uses system scrollbars, so make ours invisible.
« no previous file with comments | « content/renderer/gpu/compositor_dependencies.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698