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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 // Enables interaction with virtual reality devices. | 523 // Enables interaction with virtual reality devices. |
524 const char kEnableWebVR[] = "enable-webvr"; | 524 const char kEnableWebVR[] = "enable-webvr"; |
525 | 525 |
526 // Enable rasterizer that writes directly to GPU memory associated with tiles. | 526 // Enable rasterizer that writes directly to GPU memory associated with tiles. |
527 const char kEnableZeroCopy[] = "enable-zero-copy"; | 527 const char kEnableZeroCopy[] = "enable-zero-copy"; |
528 | 528 |
529 // Explicitly allows additional ports using a comma-separated list of port | 529 // Explicitly allows additional ports using a comma-separated list of port |
530 // numbers. | 530 // numbers. |
531 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; | 531 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
532 | 532 |
| 533 // Handle to the shared memory segment containing field trial state that is to |
| 534 // be shared between processes. The argument to this switch is the handle id |
| 535 // (pointer on Windows) as a string, followed by a comma, then the size of the |
| 536 // shared memory segment as a string. |
| 537 const char kFieldTrialHandle[] = "field-trial-handle"; |
| 538 |
533 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU | 539 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU |
534 // accelerated compositing + impl-side painting. Overrides the | 540 // accelerated compositing + impl-side painting. Overrides the |
535 // kEnableGpuRasterization flag. | 541 // kEnableGpuRasterization flag. |
536 const char kForceGpuRasterization[] = "force-gpu-rasterization"; | 542 const char kForceGpuRasterization[] = "force-gpu-rasterization"; |
537 | 543 |
538 // The number of multisample antialiasing samples for GPU rasterization. | 544 // The number of multisample antialiasing samples for GPU rasterization. |
539 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. | 545 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. |
540 const char kGpuRasterizationMSAASampleCount[] = | 546 const char kGpuRasterizationMSAASampleCount[] = |
541 "gpu-rasterization-msaa-sample-count"; | 547 "gpu-rasterization-msaa-sample-count"; |
542 | 548 |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1066 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1061 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1067 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1062 | 1068 |
1063 // Specifies the testcase used by the IPC fuzzer. | 1069 // Specifies the testcase used by the IPC fuzzer. |
1064 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1070 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1065 #endif | 1071 #endif |
1066 | 1072 |
1067 // Don't dump stuff here, follow the same order as the header. | 1073 // Don't dump stuff here, follow the same order as the header. |
1068 | 1074 |
1069 } // namespace switches | 1075 } // namespace switches |
OLD | NEW |