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

Unified Diff: content/public/common/content_switches.cc

Issue 1576133002: Add category handling to RasterWorkerPool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hihi
Patch Set: Created 4 years, 11 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
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index b7d4010e1c5d394affd89e15c222e0779c070c22..496df0fd82671d3ecae18c94c4f4993195554159 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -825,6 +825,12 @@ const char kUseNormalPriorityForTileTaskWorkerThreads[] =
// Use remote compositor for the renderer.
const char kUseRemoteCompositing[] = "use-remote-compositing";
+// Causes all low-priority "background" raster tasks to run on a single thread,
+// reducing their likelihood of contending with higher priority tasks for system
+// resources.
+const char kUseSingleThreadForBackgroundRasterTasks[] =
+ "use-single-thread-for-background-raster-tasks";
+
// Use the new surfaces system to handle compositor delegation.
const char kUseSurfaces[] = "use-surfaces";

Powered by Google App Engine
This is Rietveld 408576698