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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 | 276 |
277 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) | 277 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) |
278 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; | 278 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; |
279 | 279 |
280 // Disable partially decoding jpeg images using the GPU. | 280 // Disable partially decoding jpeg images using the GPU. |
281 // At least YUV decoding will be accelerated when not using this flag. | 281 // At least YUV decoding will be accelerated when not using this flag. |
282 // Has no effect unless GPU rasterization is enabled. | 282 // Has no effect unless GPU rasterization is enabled. |
283 const char kDisableAcceleratedJpegDecoding[] = | 283 const char kDisableAcceleratedJpegDecoding[] = |
284 "disable-accelerated-jpeg-decoding"; | 284 "disable-accelerated-jpeg-decoding"; |
285 | 285 |
| 286 // Enable hardware acceleration of mjpeg decode for captured frame, where |
| 287 // available. |
| 288 const char kEnableAcceleratedMjpegDecode[] = "enable-accelerated-mjpeg-decode"; |
| 289 |
286 // 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 |
287 // behind this path are very likely to break lots of content. | 291 // behind this path are very likely to break lots of content. |
288 // ** 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. ** |
289 const char kEnableBleedingEdgeRenderingFastPaths[] = | 293 const char kEnableBleedingEdgeRenderingFastPaths[] = |
290 "enable-bleeding-edge-rendering-fast-paths"; | 294 "enable-bleeding-edge-rendering-fast-paths"; |
291 | 295 |
292 // Enables new cc/animation system (Project Heaviside). crbug.com/394772 | 296 // Enables new cc/animation system (Project Heaviside). crbug.com/394772 |
293 const char kEnableCompositorAnimationTimelines[] = | 297 const char kEnableCompositorAnimationTimelines[] = |
294 "enable-compositor-animation-timelines"; | 298 "enable-compositor-animation-timelines"; |
295 | 299 |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1015 // Windows Vista and later. | 1019 // Windows Vista and later. |
1016 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1020 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1017 #endif | 1021 #endif |
1018 | 1022 |
1019 // Enables the use of NPAPI plugins. | 1023 // Enables the use of NPAPI plugins. |
1020 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; | 1024 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; |
1021 | 1025 |
1022 // Don't dump stuff here, follow the same order as the header. | 1026 // Don't dump stuff here, follow the same order as the header. |
1023 | 1027 |
1024 } // namespace switches | 1028 } // namespace switches |
OLD | NEW |