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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU | 491 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU |
492 // accelerated compositing + impl-side painting. Overrides the | 492 // accelerated compositing + impl-side painting. Overrides the |
493 // kEnableGpuRasterization flag. | 493 // kEnableGpuRasterization flag. |
494 const char kForceGpuRasterization[] = "force-gpu-rasterization"; | 494 const char kForceGpuRasterization[] = "force-gpu-rasterization"; |
495 | 495 |
496 // The number of multisample antialiasing samples for GPU rasterization. | 496 // The number of multisample antialiasing samples for GPU rasterization. |
497 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. | 497 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. |
498 const char kGpuRasterizationMSAASampleCount[] = | 498 const char kGpuRasterizationMSAASampleCount[] = |
499 "gpu-rasterization-msaa-sample-count"; | 499 "gpu-rasterization-msaa-sample-count"; |
500 | 500 |
| 501 // Enable threaded GPU rasterization. |
| 502 const char kEnableThreadedGpuRasterization[] = |
| 503 "enable-threaded-gpu-rasterization"; |
| 504 |
| 505 // Disable threaded GPU rasterization. Overrides enable. |
| 506 const char kDisableThreadedGpuRasterization[] = |
| 507 "disable-threaded-gpu-rasterization"; |
| 508 |
501 // Force renderer accessibility to be on instead of enabling it on demand when | 509 // Force renderer accessibility to be on instead of enabling it on demand when |
502 // a screen reader is detected. The disable-renderer-accessibility switch | 510 // a screen reader is detected. The disable-renderer-accessibility switch |
503 // overrides this if present. | 511 // overrides this if present. |
504 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 512 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
505 | 513 |
506 // Always use text blob rendering, overriding kDisableTextBlobs and any | 514 // Always use text blob rendering, overriding kDisableTextBlobs and any |
507 // heuristics that may otherwise disable it. | 515 // heuristics that may otherwise disable it. |
508 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. | 516 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. |
509 const char kForceTextBlobs[] = "force-text-blobs"; | 517 const char kForceTextBlobs[] = "force-text-blobs"; |
510 | 518 |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 const char kEnableNpapi[] = "enable-npapi"; | 967 const char kEnableNpapi[] = "enable-npapi"; |
960 | 968 |
961 #if defined(ENABLE_PLUGINS) | 969 #if defined(ENABLE_PLUGINS) |
962 // Enables the plugin power saver feature. | 970 // Enables the plugin power saver feature. |
963 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 971 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
964 #endif | 972 #endif |
965 | 973 |
966 // Don't dump stuff here, follow the same order as the header. | 974 // Don't dump stuff here, follow the same order as the header. |
967 | 975 |
968 } // namespace switches | 976 } // namespace switches |
OLD | NEW |