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

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

Issue 11827002: Add a command-line flag to disable canvas antialiasing. This will be used to characterize performa… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Flip the chrome side code to use _disabled instead of _enabled. Created 7 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | webkit/glue/webpreferences.h » ('j') | 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 cf0b4db5a53c025133ba23235bde963e1cc98fc8..193cc47bbd9a409c0781e0d05a39d54d326e54e0 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -49,6 +49,9 @@ const char kDisable3DAPIs[] = "disable-3d-apis";
// Disable gpu-accelerated 2d canvas.
const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas";
+// Disable antialiasing on 2d canvas.
+const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa";
+
// Disables accelerated compositing.
const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing";
« no previous file with comments | « content/public/common/content_switches.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698