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

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

Issue 731293004: Add command line and flag option to force 2D canvas to use display lists (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 5f856eb6801595f5c5a5379ba44f4136cc751e2e..ff2ef5216d4a21333987e7afcda828827b9ab308 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -340,9 +340,13 @@ const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
// Enables delegated renderer.
const char kEnableDelegatedRenderer[] = "enable-delegated-renderer";
-// Enables display list based 2d canvas implementation.
+// Enables display list based 2d canvas implementation. Options:
+// 1. Enable: allow browser to use display list for 2d canvas (browser makes
+// decision).
+// 2. Force: browser always uses display list for 2d canvas.
const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
-const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
+const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
+const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
// Enables restarting interrupted downloads.
const char kEnableDownloadResumption[] = "enable-download-resumption";
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698