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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU | 514 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU |
515 // accelerated compositing + impl-side painting. Overrides the | 515 // accelerated compositing + impl-side painting. Overrides the |
516 // kEnableGpuRasterization flag. | 516 // kEnableGpuRasterization flag. |
517 const char kForceGpuRasterization[] = "force-gpu-rasterization"; | 517 const char kForceGpuRasterization[] = "force-gpu-rasterization"; |
518 | 518 |
519 // The number of multisample antialiasing samples for GPU rasterization. | 519 // The number of multisample antialiasing samples for GPU rasterization. |
520 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. | 520 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. |
521 const char kGpuRasterizationMSAASampleCount[] = | 521 const char kGpuRasterizationMSAASampleCount[] = |
522 "gpu-rasterization-msaa-sample-count"; | 522 "gpu-rasterization-msaa-sample-count"; |
523 | 523 |
524 // Enable threaded GPU rasterization. | |
525 const char kEnableThreadedGpuRasterization[] = | |
526 "enable-threaded-gpu-rasterization"; | |
527 | |
528 // Disable threaded GPU rasterization. Overrides enable. | |
529 const char kDisableThreadedGpuRasterization[] = | |
530 "disable-threaded-gpu-rasterization"; | |
531 | |
532 // Force renderer accessibility to be on instead of enabling it on demand when | 524 // Force renderer accessibility to be on instead of enabling it on demand when |
533 // a screen reader is detected. The disable-renderer-accessibility switch | 525 // a screen reader is detected. The disable-renderer-accessibility switch |
534 // overrides this if present. | 526 // overrides this if present. |
535 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 527 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
536 | 528 |
537 // Always use text blob rendering, overriding kDisableTextBlobs and any | 529 // Always use text blob rendering, overriding kDisableTextBlobs and any |
538 // heuristics that may otherwise disable it. | 530 // heuristics that may otherwise disable it. |
539 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. | 531 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. |
540 const char kForceTextBlobs[] = "force-text-blobs"; | 532 const char kForceTextBlobs[] = "force-text-blobs"; |
541 | 533 |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 // clashes between different instances of Chrome. | 974 // clashes between different instances of Chrome. |
983 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; | 975 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; |
984 #endif | 976 #endif |
985 | 977 |
986 // Enables the use of NPAPI plugins. | 978 // Enables the use of NPAPI plugins. |
987 const char kEnableNpapi[] = "enable-npapi"; | 979 const char kEnableNpapi[] = "enable-npapi"; |
988 | 980 |
989 // Don't dump stuff here, follow the same order as the header. | 981 // Don't dump stuff here, follow the same order as the header. |
990 | 982 |
991 } // namespace switches | 983 } // namespace switches |
OLD | NEW |