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

Side by Side Diff: content/public/common/content_switches.cc

Issue 650143002: Add flag to enable antialiased clipping in HTML5 canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address code review issues Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // Disable rasterizer that writes directly to GPU memory associated with tiles. 271 // Disable rasterizer that writes directly to GPU memory associated with tiles.
272 // Overrides the kEnableZeroCopy flag. 272 // Overrides the kEnableZeroCopy flag.
273 const char kDisableZeroCopy[] = "disable-zero-copy"; 273 const char kDisableZeroCopy[] = "disable-zero-copy";
274 274
275 // Specifies if the |DOMAutomationController| needs to be bound in the 275 // Specifies if the |DOMAutomationController| needs to be bound in the
276 // renderer. This binding happens on per-frame basis and hence can potentially 276 // renderer. This binding happens on per-frame basis and hence can potentially
277 // be a performance bottleneck. One should only enable it when automating dom 277 // be a performance bottleneck. One should only enable it when automating dom
278 // based tests. 278 // based tests.
279 const char kDomAutomationController[] = "dom-automation"; 279 const char kDomAutomationController[] = "dom-automation";
280 280
281 // Enable antialiasing on 2d canvas clips (as opposed to draw operations)
282 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa";
283
281 // Enable partially decoding jpeg images using the GPU. 284 // Enable partially decoding jpeg images using the GPU.
282 // At least YUV decoding will be accelerated when using this flag. 285 // At least YUV decoding will be accelerated when using this flag.
283 // Has no effect unless GPU rasterization is enabled. 286 // Has no effect unless GPU rasterization is enabled.
284 const char kEnableAcceleratedJpegDecoding[] = 287 const char kEnableAcceleratedJpegDecoding[] =
285 "enable-accelerated-jpeg-decoding"; 288 "enable-accelerated-jpeg-decoding";
286 289
287 // Enable bleeding-edge code to make Chrome draw content faster. The changes 290 // Enable bleeding-edge code to make Chrome draw content faster. The changes
288 // behind this path are very likely to break lots of content. 291 // behind this path are very likely to break lots of content.
289 // ** DO NOT use this flag unless you know what you are doing. ** 292 // ** DO NOT use this flag unless you know what you are doing. **
290 const char kEnableBleedingEdgeRenderingFastPaths[] = 293 const char kEnableBleedingEdgeRenderingFastPaths[] =
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 #endif 963 #endif
961 964
962 #if defined(ENABLE_PLUGINS) 965 #if defined(ENABLE_PLUGINS)
963 // Enables the plugin power saver feature. 966 // Enables the plugin power saver feature.
964 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 967 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
965 #endif 968 #endif
966 969
967 // Don't dump stuff here, follow the same order as the header. 970 // Don't dump stuff here, follow the same order as the header.
968 971
969 } // namespace switches 972 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698