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 #include "media/media_features.h" | 7 #include "media/media_features.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 // Force logging to be disabled. Logging is enabled by default in debug | 211 // Force logging to be disabled. Logging is enabled by default in debug |
212 // builds. | 212 // builds. |
213 const char kDisableLogging[] = "disable-logging"; | 213 const char kDisableLogging[] = "disable-logging"; |
214 | 214 |
215 // Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders. | 215 // Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders. |
216 const char kDisableLowLatencyDxva[] = "disable-low-latency-dxva"; | 216 const char kDisableLowLatencyDxva[] = "disable-low-latency-dxva"; |
217 | 217 |
218 // Disables usage of the namespace sandbox. | 218 // Disables usage of the namespace sandbox. |
219 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; | 219 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; |
220 | 220 |
221 // Disables native GPU memory buffer support. | |
222 const char kDisableNativeGpuMemoryBuffers[] = | |
223 "disable-native-gpu-memory-buffers"; | |
224 | |
225 // Disables the Web Notification and the Push APIs. | 221 // Disables the Web Notification and the Push APIs. |
226 const char kDisableNotifications[] = "disable-notifications"; | 222 const char kDisableNotifications[] = "disable-notifications"; |
227 | 223 |
228 // Disable partial raster in the renderer. Disabling this switch also disables | 224 // Disable partial raster in the renderer. Disabling this switch also disables |
229 // the use of persistent gpu memory buffers. | 225 // the use of persistent gpu memory buffers. |
230 const char kDisablePartialRaster[] = "disable-partial-raster"; | 226 const char kDisablePartialRaster[] = "disable-partial-raster"; |
231 | 227 |
232 // Enable partial raster in the renderer. | 228 // Enable partial raster in the renderer. |
233 const char kEnablePartialRaster[] = "enable-partial-raster"; | 229 const char kEnablePartialRaster[] = "enable-partial-raster"; |
234 | 230 |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 // Prioritizes the UI's command stream in the GPU process | 847 // Prioritizes the UI's command stream in the GPU process |
852 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process"; | 848 const char kUIPrioritizeInGpuProcess[] = "ui-prioritize-in-gpu-process"; |
853 | 849 |
854 // Bypass the media stream infobar by selecting the default device for media | 850 // Bypass the media stream infobar by selecting the default device for media |
855 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 851 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
856 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; | 852 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; |
857 | 853 |
858 // Use the Mandoline UI Service in the Chrome render process. | 854 // Use the Mandoline UI Service in the Chrome render process. |
859 const char kUseMusInRenderer[] = "use-mus-in-renderer"; | 855 const char kUseMusInRenderer[] = "use-mus-in-renderer"; |
860 | 856 |
861 // Enable native GPU memory buffer support when available. | |
862 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers"; | |
863 | |
864 // Texture target for CHROMIUM_image backed content textures. | 857 // Texture target for CHROMIUM_image backed content textures. |
865 const char kContentImageTextureTarget[] = "content-image-texture-target"; | 858 const char kContentImageTextureTarget[] = "content-image-texture-target"; |
866 | 859 |
867 // Texture target for CHROMIUM_image backed video frame textures. | 860 // Texture target for CHROMIUM_image backed video frame textures. |
868 const char kVideoImageTextureTarget[] = "video-image-texture-target"; | 861 const char kVideoImageTextureTarget[] = "video-image-texture-target"; |
869 | 862 |
870 // Set when Chromium should use a mobile user agent. | 863 // Set when Chromium should use a mobile user agent. |
871 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 864 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
872 | 865 |
873 // Use remote compositor for the renderer. | 866 // Use remote compositor for the renderer. |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1071 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1064 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1072 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1065 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1073 | 1066 |
1074 // Specifies the testcase used by the IPC fuzzer. | 1067 // Specifies the testcase used by the IPC fuzzer. |
1075 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1068 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1076 #endif | 1069 #endif |
1077 | 1070 |
1078 // Don't dump stuff here, follow the same order as the header. | 1071 // Don't dump stuff here, follow the same order as the header. |
1079 | 1072 |
1080 } // namespace switches | 1073 } // namespace switches |
OLD | NEW |