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. | |
danakj
2015/02/02 21:48:38
don't line break after period
vmiura
2015/02/02 22:03:22
Done.
| |
506 // Overrides kEnableThreadedGpuRasterization. | |
507 const char kDisableThreadedGpuRasterization[] = | |
508 "disable-threaded-gpu-rasterization"; | |
509 | |
501 // Force renderer accessibility to be on instead of enabling it on demand when | 510 // Force renderer accessibility to be on instead of enabling it on demand when |
502 // a screen reader is detected. The disable-renderer-accessibility switch | 511 // a screen reader is detected. The disable-renderer-accessibility switch |
503 // overrides this if present. | 512 // overrides this if present. |
504 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 513 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
505 | 514 |
506 // Always use text blob rendering, overriding kDisableTextBlobs and any | 515 // Always use text blob rendering, overriding kDisableTextBlobs and any |
507 // heuristics that may otherwise disable it. | 516 // heuristics that may otherwise disable it. |
508 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. | 517 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. |
509 const char kForceTextBlobs[] = "force-text-blobs"; | 518 const char kForceTextBlobs[] = "force-text-blobs"; |
510 | 519 |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
959 const char kEnableNpapi[] = "enable-npapi"; | 968 const char kEnableNpapi[] = "enable-npapi"; |
960 | 969 |
961 #if defined(ENABLE_PLUGINS) | 970 #if defined(ENABLE_PLUGINS) |
962 // Enables the plugin power saver feature. | 971 // Enables the plugin power saver feature. |
963 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 972 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
964 #endif | 973 #endif |
965 | 974 |
966 // Don't dump stuff here, follow the same order as the header. | 975 // Don't dump stuff here, follow the same order as the header. |
967 | 976 |
968 } // namespace switches | 977 } // namespace switches |
OLD | NEW |