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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 | 336 |
337 // Comma-separated list of feature names to enable. See also kDisableFeatures. | 337 // Comma-separated list of feature names to enable. See also kDisableFeatures. |
338 const char kEnableFeatures[] = "enable-features"; | 338 const char kEnableFeatures[] = "enable-features"; |
339 | 339 |
340 // Enable Web Bluetooth. | 340 // Enable Web Bluetooth. |
341 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; | 341 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; |
342 | 342 |
343 // Enables TRACE for GL calls in the renderer. | 343 // Enables TRACE for GL calls in the renderer. |
344 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; | 344 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; |
345 | 345 |
| 346 // Specify that all compositor resources should be backed by GPU memory buffers. |
| 347 const char kEnableGpuMemoryBufferCompositorResources[] = |
| 348 "enable-gpu-memory-buffer-compositor-resources"; |
| 349 |
346 // Enable GpuMemoryBuffer backed VideoFrames. | 350 // Enable GpuMemoryBuffer backed VideoFrames. |
347 const char kEnableGpuMemoryBufferVideoFrames[] = | 351 const char kEnableGpuMemoryBufferVideoFrames[] = |
348 "enable-gpu-memory-buffer-video-frames"; | 352 "enable-gpu-memory-buffer-video-frames"; |
349 | 353 |
350 // Allow heuristics to determine when a layer tile should be drawn with the | 354 // Allow heuristics to determine when a layer tile should be drawn with the |
351 // Skia GPU backend. Only valid with GPU accelerated compositing + | 355 // Skia GPU backend. Only valid with GPU accelerated compositing + |
352 // impl-side painting. | 356 // impl-side painting. |
353 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; | 357 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
354 | 358 |
355 // When using CPU rasterizing generate low resolution tiling. Low res | 359 // When using CPU rasterizing generate low resolution tiling. Low res |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 970 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
967 | 971 |
968 // Enables the exporting of the tracing events to ETW. This is only supported on | 972 // Enables the exporting of the tracing events to ETW. This is only supported on |
969 // Windows Vista and later. | 973 // Windows Vista and later. |
970 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 974 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
971 #endif | 975 #endif |
972 | 976 |
973 // Don't dump stuff here, follow the same order as the header. | 977 // Don't dump stuff here, follow the same order as the header. |
974 | 978 |
975 } // namespace switches | 979 } // namespace switches |
OLD | NEW |