| 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 // Enables Web Platform features that are in development. | 358 // Enables Web Platform features that are in development. |
| 359 const char kEnableExperimentalWebPlatformFeatures[] = | 359 const char kEnableExperimentalWebPlatformFeatures[] = |
| 360 "enable-experimental-web-platform-features"; | 360 "enable-experimental-web-platform-features"; |
| 361 | 361 |
| 362 // Comma-separated list of feature names to enable. See also kDisableFeatures. | 362 // Comma-separated list of feature names to enable. See also kDisableFeatures. |
| 363 const char kEnableFeatures[] = "enable-features"; | 363 const char kEnableFeatures[] = "enable-features"; |
| 364 | 364 |
| 365 // Enable Web Bluetooth. | 365 // Enable Web Bluetooth. |
| 366 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; | 366 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; |
| 367 | 367 |
| 368 // Enables TRACE for GL calls in the renderer. | |
| 369 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; | |
| 370 | |
| 371 // Specify that all compositor resources should be backed by GPU memory buffers. | 368 // Specify that all compositor resources should be backed by GPU memory buffers. |
| 372 const char kEnableGpuMemoryBufferCompositorResources[] = | 369 const char kEnableGpuMemoryBufferCompositorResources[] = |
| 373 "enable-gpu-memory-buffer-compositor-resources"; | 370 "enable-gpu-memory-buffer-compositor-resources"; |
| 374 | 371 |
| 375 // Enable GpuMemoryBuffer backed VideoFrames. | 372 // Enable GpuMemoryBuffer backed VideoFrames. |
| 376 const char kEnableGpuMemoryBufferVideoFrames[] = | 373 const char kEnableGpuMemoryBufferVideoFrames[] = |
| 377 "enable-gpu-memory-buffer-video-frames"; | 374 "enable-gpu-memory-buffer-video-frames"; |
| 378 | 375 |
| 379 // Allow heuristics to determine when a layer tile should be drawn with the | 376 // Allow heuristics to determine when a layer tile should be drawn with the |
| 380 // Skia GPU backend. Only valid with GPU accelerated compositing + | 377 // Skia GPU backend. Only valid with GPU accelerated compositing + |
| (...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1038 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1035 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1039 | 1036 |
| 1040 // Enables the exporting of the tracing events to ETW. This is only supported on | 1037 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1041 // Windows Vista and later. | 1038 // Windows Vista and later. |
| 1042 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1039 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1043 #endif | 1040 #endif |
| 1044 | 1041 |
| 1045 // Don't dump stuff here, follow the same order as the header. | 1042 // Don't dump stuff here, follow the same order as the header. |
| 1046 | 1043 |
| 1047 } // namespace switches | 1044 } // namespace switches |
| OLD | NEW |