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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 270 |
271 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) | 271 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) |
272 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; | 272 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; |
273 | 273 |
274 // Disable partially decoding jpeg images using the GPU. | 274 // Disable partially decoding jpeg images using the GPU. |
275 // At least YUV decoding will be accelerated when not using this flag. | 275 // At least YUV decoding will be accelerated when not using this flag. |
276 // Has no effect unless GPU rasterization is enabled. | 276 // Has no effect unless GPU rasterization is enabled. |
277 const char kDisableAcceleratedJpegDecoding[] = | 277 const char kDisableAcceleratedJpegDecoding[] = |
278 "disable-accelerated-jpeg-decoding"; | 278 "disable-accelerated-jpeg-decoding"; |
279 | 279 |
| 280 // Enable hardware acceleration of mjpeg decode for captured frame, where |
| 281 // available. |
| 282 const char kEnableAcceleratedMjpegDecode[] = "enable-accelerated-mjpeg-decode"; |
| 283 |
280 // Enable bleeding-edge code to make Chrome draw content faster. The changes | 284 // Enable bleeding-edge code to make Chrome draw content faster. The changes |
281 // behind this path are very likely to break lots of content. | 285 // behind this path are very likely to break lots of content. |
282 // ** DO NOT use this flag unless you know what you are doing. ** | 286 // ** DO NOT use this flag unless you know what you are doing. ** |
283 const char kEnableBleedingEdgeRenderingFastPaths[] = | 287 const char kEnableBleedingEdgeRenderingFastPaths[] = |
284 "enable-bleeding-edge-rendering-fast-paths"; | 288 "enable-bleeding-edge-rendering-fast-paths"; |
285 | 289 |
286 // Enables new cc/animation system (Project Heaviside). crbug.com/394772 | 290 // Enables new cc/animation system (Project Heaviside). crbug.com/394772 |
287 const char kEnableCompositorAnimationTimelines[] = | 291 const char kEnableCompositorAnimationTimelines[] = |
288 "enable-compositor-animation-timelines"; | 292 "enable-compositor-animation-timelines"; |
289 | 293 |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 // Windows Vista and later. | 1006 // Windows Vista and later. |
1003 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1007 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1004 #endif | 1008 #endif |
1005 | 1009 |
1006 // Enables the use of NPAPI plugins. | 1010 // Enables the use of NPAPI plugins. |
1007 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; | 1011 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; |
1008 | 1012 |
1009 // Don't dump stuff here, follow the same order as the header. | 1013 // Don't dump stuff here, follow the same order as the header. |
1010 | 1014 |
1011 } // namespace switches | 1015 } // namespace switches |
OLD | NEW |