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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 // Enables interaction with virtual reality devices. | 529 // Enables interaction with virtual reality devices. |
530 const char kEnableWebVR[] = "enable-webvr"; | 530 const char kEnableWebVR[] = "enable-webvr"; |
531 | 531 |
532 // Enable rasterizer that writes directly to GPU memory associated with tiles. | 532 // Enable rasterizer that writes directly to GPU memory associated with tiles. |
533 const char kEnableZeroCopy[] = "enable-zero-copy"; | 533 const char kEnableZeroCopy[] = "enable-zero-copy"; |
534 | 534 |
535 // Explicitly allows additional ports using a comma-separated list of port | 535 // Explicitly allows additional ports using a comma-separated list of port |
536 // numbers. | 536 // numbers. |
537 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; | 537 const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports"; |
538 | 538 |
| 539 // Handle to the shared memory segment containing field trial state that is to |
| 540 // be shared between processes. The argument to this switch is the handle id |
| 541 // (pointer on Windows) as a string, followed by a comma, then the size of the |
| 542 // shared memory segment as a string. |
| 543 const char kFieldTrialHandle[] = "field-trial-handle"; |
| 544 |
539 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU | 545 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU |
540 // accelerated compositing + impl-side painting. Overrides the | 546 // accelerated compositing + impl-side painting. Overrides the |
541 // kEnableGpuRasterization flag. | 547 // kEnableGpuRasterization flag. |
542 const char kForceGpuRasterization[] = "force-gpu-rasterization"; | 548 const char kForceGpuRasterization[] = "force-gpu-rasterization"; |
543 | 549 |
544 // The number of multisample antialiasing samples for GPU rasterization. | 550 // The number of multisample antialiasing samples for GPU rasterization. |
545 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. | 551 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. |
546 const char kGpuRasterizationMSAASampleCount[] = | 552 const char kGpuRasterizationMSAASampleCount[] = |
547 "gpu-rasterization-msaa-sample-count"; | 553 "gpu-rasterization-msaa-sample-count"; |
548 | 554 |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1074 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1080 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1075 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1081 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1076 | 1082 |
1077 // Specifies the testcase used by the IPC fuzzer. | 1083 // Specifies the testcase used by the IPC fuzzer. |
1078 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1084 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1079 #endif | 1085 #endif |
1080 | 1086 |
1081 // Don't dump stuff here, follow the same order as the header. | 1087 // Don't dump stuff here, follow the same order as the header. |
1082 | 1088 |
1083 } // namespace switches | 1089 } // namespace switches |
OLD | NEW |