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 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 // Linux speech service. Because it's buggy, the user must explicitly | 981 // Linux speech service. Because it's buggy, the user must explicitly |
982 // enable it so that visiting a random webpage can't cause instability. | 982 // enable it so that visiting a random webpage can't cause instability. |
983 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; | 983 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; |
984 #endif | 984 #endif |
985 | 985 |
986 #if defined(OS_MACOSX) && !defined(OS_IOS) | 986 #if defined(OS_MACOSX) && !defined(OS_IOS) |
987 // Disables support for Core Animation plugins. This is triggered when | 987 // Disables support for Core Animation plugins. This is triggered when |
988 // accelerated compositing is disabled. See http://crbug.com/122430. | 988 // accelerated compositing is disabled. See http://crbug.com/122430. |
989 const char kDisableCoreAnimationPlugins[] = | 989 const char kDisableCoreAnimationPlugins[] = |
990 "disable-core-animation-plugins"; | 990 "disable-core-animation-plugins"; |
| 991 |
| 992 // Disables VideoToolbox API accelerated video encode. |
| 993 const char kDisableVTAcceleratedVideoEncode[] = |
| 994 "disable-vt-accelerated-video-encode"; |
991 #endif | 995 #endif |
992 | 996 |
993 #if defined(OS_WIN) | 997 #if defined(OS_WIN) |
994 // /prefetch:# arguments to use when launching various process types. It has | 998 // /prefetch:# arguments to use when launching various process types. It has |
995 // been observed that when file reads are consistent for 3 process launches with | 999 // been observed that when file reads are consistent for 3 process launches with |
996 // the same /prefetch:# argument, the Windows prefetcher starts issuing reads in | 1000 // the same /prefetch:# argument, the Windows prefetcher starts issuing reads in |
997 // batch at process launch. Because reads depend on the process type, the | 1001 // batch at process launch. Because reads depend on the process type, the |
998 // prefetcher wouldn't be able to observe consistent reads if no /prefetch:# | 1002 // prefetcher wouldn't be able to observe consistent reads if no /prefetch:# |
999 // arguments were used. Note that the browser process has no /prefetch:# | 1003 // arguments were used. Note that the browser process has no /prefetch:# |
1000 // argument; as such all other processes must have one in order to avoid | 1004 // argument; as such all other processes must have one in order to avoid |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1049 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
1046 | 1050 |
1047 // Enables the exporting of the tracing events to ETW. This is only supported on | 1051 // Enables the exporting of the tracing events to ETW. This is only supported on |
1048 // Windows Vista and later. | 1052 // Windows Vista and later. |
1049 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1053 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1050 #endif | 1054 #endif |
1051 | 1055 |
1052 // Don't dump stuff here, follow the same order as the header. | 1056 // Don't dump stuff here, follow the same order as the header. |
1053 | 1057 |
1054 } // namespace switches | 1058 } // namespace switches |
OLD | NEW |