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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 941443002: Fix use of multiple raster threads for software rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/browser/gpu/compositor_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 3cca2418bce076e4d4ada606f4575c992a1bef1e..35bd5e3f4e6f931153c499fdd4310855ce83febd 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -665,6 +665,8 @@ void RenderThreadImpl::Init() {
DCHECK_GT(num_raster_threads, 0);
// Force maximum 1 thread for threaded GPU rasterization.
+ // TODO(vmiura): crbug.com/459760 Support existence of multiple raster
+ // threads in GPU raster mode.
if (is_threaded_gpu_rasterization_enabled_)
num_raster_threads = 1;
cc::TileTaskWorkerPool::SetNumWorkerThreads(num_raster_threads);
« no previous file with comments | « content/browser/gpu/compositor_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698