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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 // Disable rasterizer that writes directly to GPU memory associated with tiles. | 270 // Disable rasterizer that writes directly to GPU memory associated with tiles. |
271 // Overrides the kEnableZeroCopy flag. | 271 // Overrides the kEnableZeroCopy flag. |
272 const char kDisableZeroCopy[] = "disable-zero-copy"; | 272 const char kDisableZeroCopy[] = "disable-zero-copy"; |
273 | 273 |
274 // Specifies if the |DOMAutomationController| needs to be bound in the | 274 // Specifies if the |DOMAutomationController| needs to be bound in the |
275 // renderer. This binding happens on per-frame basis and hence can potentially | 275 // renderer. This binding happens on per-frame basis and hence can potentially |
276 // be a performance bottleneck. One should only enable it when automating dom | 276 // be a performance bottleneck. One should only enable it when automating dom |
277 // based tests. | 277 // based tests. |
278 const char kDomAutomationController[] = "dom-automation"; | 278 const char kDomAutomationController[] = "dom-automation"; |
279 | 279 |
| 280 // Enable partially decoding jpeg images using the GPU. |
| 281 // At least YUV decoding will be accelerated when using this flag. |
| 282 // Has no effect unless GPU rasterization is enabled. |
| 283 const char kEnableAcceleratedJpegDecoding[] = |
| 284 "enable-accelerated-jpeg-decoding"; |
| 285 |
280 // Enable bleeding-edge code to make Chrome draw content faster. The changes | 286 // Enable bleeding-edge code to make Chrome draw content faster. The changes |
281 // behind this path are very likely to break lots of content. | 287 // behind this path are very likely to break lots of content. |
282 // ** DO NOT use this flag unless you know what you are doing. ** | 288 // ** DO NOT use this flag unless you know what you are doing. ** |
283 const char kEnableBleedingEdgeRenderingFastPaths[] = | 289 const char kEnableBleedingEdgeRenderingFastPaths[] = |
284 "enable-bleeding-edge-rendering-fast-paths"; | 290 "enable-bleeding-edge-rendering-fast-paths"; |
285 | 291 |
286 // Disable deferred image filters. | 292 // Disable deferred image filters. |
287 const char kDisableDeferredFilters[] = "disable-deferred-filters"; | 293 const char kDisableDeferredFilters[] = "disable-deferred-filters"; |
288 | 294 |
289 // Enables LCD text. | 295 // Enables LCD text. |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 // Enable the Win32K process mitigation policy for renderer processes which | 951 // Enable the Win32K process mitigation policy for renderer processes which |
946 // prevents them from invoking user32 and gdi32 system calls which enter | 952 // prevents them from invoking user32 and gdi32 system calls which enter |
947 // the kernel. This is only supported on Windows 8 and beyond. | 953 // the kernel. This is only supported on Windows 8 and beyond. |
948 const char kEnableWin32kRendererLockDown[] | 954 const char kEnableWin32kRendererLockDown[] |
949 = "enable_win32k_renderer_lockdown"; | 955 = "enable_win32k_renderer_lockdown"; |
950 #endif | 956 #endif |
951 | 957 |
952 // Don't dump stuff here, follow the same order as the header. | 958 // Don't dump stuff here, follow the same order as the header. |
953 | 959 |
954 } // namespace switches | 960 } // namespace switches |
OLD | NEW |