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 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 // This option is also used by the browser to send the list of trials to | 489 // This option is also used by the browser to send the list of trials to |
490 // renderers, using the same format. See | 490 // renderers, using the same format. See |
491 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. | 491 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. |
492 const char kForceFieldTrials[] = "force-fieldtrials"; | 492 const char kForceFieldTrials[] = "force-fieldtrials"; |
493 | 493 |
494 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU | 494 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU |
495 // accelerated compositing + impl-side painting. Overrides the | 495 // accelerated compositing + impl-side painting. Overrides the |
496 // kEnableGpuRasterization flag. | 496 // kEnableGpuRasterization flag. |
497 const char kForceGpuRasterization[] = "force-gpu-rasterization"; | 497 const char kForceGpuRasterization[] = "force-gpu-rasterization"; |
498 | 498 |
| 499 // The number of multisample antialiasing samples for GPU rasterization. |
| 500 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. |
| 501 const char kGpuRasterizationMSAASampleCount[] = |
| 502 "gpu-rasterization-msaa-sample-count"; |
| 503 |
499 // Force renderer accessibility to be on instead of enabling it on demand when | 504 // Force renderer accessibility to be on instead of enabling it on demand when |
500 // a screen reader is detected. The disable-renderer-accessibility switch | 505 // a screen reader is detected. The disable-renderer-accessibility switch |
501 // overrides this if present. | 506 // overrides this if present. |
502 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 507 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
503 | 508 |
504 // Always use text blob rendering, overriding kDisableTextBlobs and any | 509 // Always use text blob rendering, overriding kDisableTextBlobs and any |
505 // heuristics that may otherwise disable it. | 510 // heuristics that may otherwise disable it. |
506 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. | 511 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. |
507 const char kForceTextBlobs[] = "force-text-blobs"; | 512 const char kForceTextBlobs[] = "force-text-blobs"; |
508 | 513 |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) | 976 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
972 return false; | 977 return false; |
973 // Default. | 978 // Default. |
974 return group_name == "Enabled"; | 979 return group_name == "Enabled"; |
975 } | 980 } |
976 #endif | 981 #endif |
977 | 982 |
978 // Don't dump stuff here, follow the same order as the header. | 983 // Don't dump stuff here, follow the same order as the header. |
979 | 984 |
980 } // namespace switches | 985 } // namespace switches |
OLD | NEW |