| 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 374 |
| 375 // Enable GpuMemoryBuffer backed VideoFrames. | 375 // Enable GpuMemoryBuffer backed VideoFrames. |
| 376 const char kEnableGpuMemoryBufferVideoFrames[] = | 376 const char kEnableGpuMemoryBufferVideoFrames[] = |
| 377 "enable-gpu-memory-buffer-video-frames"; | 377 "enable-gpu-memory-buffer-video-frames"; |
| 378 | 378 |
| 379 // Allow heuristics to determine when a layer tile should be drawn with the | 379 // Allow heuristics to determine when a layer tile should be drawn with the |
| 380 // Skia GPU backend. Only valid with GPU accelerated compositing + | 380 // Skia GPU backend. Only valid with GPU accelerated compositing + |
| 381 // impl-side painting. | 381 // impl-side painting. |
| 382 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; | 382 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
| 383 | 383 |
| 384 // Makes the worker GL context run asynchronously by using a separate stream. |
| 385 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; |
| 386 |
| 384 // When using CPU rasterizing generate low resolution tiling. Low res | 387 // When using CPU rasterizing generate low resolution tiling. Low res |
| 385 // tiles may be displayed during fast scrolls especially on slower devices. | 388 // tiles may be displayed during fast scrolls especially on slower devices. |
| 386 const char kEnableLowResTiling[] = "enable-low-res-tiling"; | 389 const char kEnableLowResTiling[] = "enable-low-res-tiling"; |
| 387 | 390 |
| 388 // Dynamically apply color profiles to web content images. | 391 // Dynamically apply color profiles to web content images. |
| 389 const char kEnableImageColorProfiles[] = "enable-image-color-profiles"; | 392 const char kEnableImageColorProfiles[] = "enable-image-color-profiles"; |
| 390 | 393 |
| 391 // Force logging to be enabled. Logging is disabled by default in release | 394 // Force logging to be enabled. Logging is disabled by default in release |
| 392 // builds. | 395 // builds. |
| 393 const char kEnableLogging[] = "enable-logging"; | 396 const char kEnableLogging[] = "enable-logging"; |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1021 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1019 | 1022 |
| 1020 // Enables the exporting of the tracing events to ETW. This is only supported on | 1023 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1021 // Windows Vista and later. | 1024 // Windows Vista and later. |
| 1022 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1025 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1023 #endif | 1026 #endif |
| 1024 | 1027 |
| 1025 // Don't dump stuff here, follow the same order as the header. | 1028 // Don't dump stuff here, follow the same order as the header. |
| 1026 | 1029 |
| 1027 } // namespace switches | 1030 } // namespace switches |
| OLD | NEW |