| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |