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

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..60ffc596810584c8cea4f018a45c13424f4d734d 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:
Avi (use Gerrit) 2014/11/19 01:49:01 s/2d/2D/ ?
Sergey 2014/11/19 02:01:18 2d. Let is be no 's'.
+// 1. Enable: allow browser to use display lists for 2D canvas (browser makes
+// decision).
+// 2. Force: browser always uses display lists 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