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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 // Disables usage of the namespace sandbox. | 188 // Disables usage of the namespace sandbox. |
189 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; | 189 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; |
190 | 190 |
191 // Disables native GPU memory buffer support. | 191 // Disables native GPU memory buffer support. |
192 const char kDisableNativeGpuMemoryBuffers[] = | 192 const char kDisableNativeGpuMemoryBuffers[] = |
193 "disable-native-gpu-memory-buffers"; | 193 "disable-native-gpu-memory-buffers"; |
194 | 194 |
195 // Disables the Web Notification and the Push APIs. | 195 // Disables the Web Notification and the Push APIs. |
196 const char kDisableNotifications[] = "disable-notifications"; | 196 const char kDisableNotifications[] = "disable-notifications"; |
197 | 197 |
198 // Disable rasterizer that writes directly to GPU memory. | |
199 const char kDisableOneCopy[] = "disable-one-copy"; | |
200 | |
201 // Disable Pepper3D. | 198 // Disable Pepper3D. |
202 const char kDisablePepper3d[] = "disable-pepper-3d"; | 199 const char kDisablePepper3d[] = "disable-pepper-3d"; |
203 | 200 |
204 // Disables the Permissions API. | 201 // Disables the Permissions API. |
205 const char kDisablePermissionsAPI[] = "disable-permissions-api"; | 202 const char kDisablePermissionsAPI[] = "disable-permissions-api"; |
206 | 203 |
207 // Disables the use of persistent GPU memory buffers for partial raster. | 204 // Disables the use of persistent GPU memory buffers for partial raster. |
208 const char kDisablePersistentGpuMemoryBuffer[] = | 205 const char kDisablePersistentGpuMemoryBuffer[] = |
209 "disable-persistent-gpu-memory-buffer"; | 206 "disable-persistent-gpu-memory-buffer"; |
210 | 207 |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
986 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 983 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
987 | 984 |
988 // Enables the exporting of the tracing events to ETW. This is only supported on | 985 // Enables the exporting of the tracing events to ETW. This is only supported on |
989 // Windows Vista and later. | 986 // Windows Vista and later. |
990 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 987 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
991 #endif | 988 #endif |
992 | 989 |
993 // Don't dump stuff here, follow the same order as the header. | 990 // Don't dump stuff here, follow the same order as the header. |
994 | 991 |
995 } // namespace switches | 992 } // namespace switches |
OLD | NEW |