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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1041 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
1045 | 1042 |
1046 // Enables the exporting of the tracing events to ETW. This is only supported on | 1043 // Enables the exporting of the tracing events to ETW. This is only supported on |
1047 // Windows Vista and later. | 1044 // Windows Vista and later. |
1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1045 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1049 #endif | 1046 #endif |
1050 | 1047 |
1051 // Don't dump stuff here, follow the same order as the header. | 1048 // Don't dump stuff here, follow the same order as the header. |
1052 | 1049 |
1053 } // namespace switches | 1050 } // namespace switches |
OLD | NEW |