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

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

Issue 895763002: Add a command-line flag to enable threaded GPU rasterization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 5 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 5ae4367758474a7ee2b815b4a9cafd6a3e8d3d87..cefc069902e44121744b33e30c08e138ab940cf4 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -498,6 +498,14 @@ const char kForceGpuRasterization[] = "force-gpu-rasterization";
const char kGpuRasterizationMSAASampleCount[] =
"gpu-rasterization-msaa-sample-count";
+// Enable threaded GPU rasterization.
+const char kEnableThreadedGpuRasterization[] =
+ "enable-threaded-gpu-rasterization";
+
+// Disable threaded GPU rasterization. Overrides enable.
+const char kDisableThreadedGpuRasterization[] =
+ "disable-threaded-gpu-rasterization";
+
// Force renderer accessibility to be on instead of enabling it on demand when
// a screen reader is detected. The disable-renderer-accessibility switch
// overrides this if present.

Powered by Google App Engine
This is Rietveld 408576698