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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 // 2. Force: browser always uses display list for 2d canvas. | 362 // 2. Force: browser always uses display list for 2d canvas. |
363 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; | 363 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; |
364 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; | 364 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; |
365 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; | 365 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; |
366 | 366 |
367 // Enables dynamic rendering pipeline switching to optimize the | 367 // Enables dynamic rendering pipeline switching to optimize the |
368 // performance of 2d canvas | 368 // performance of 2d canvas |
369 const char kEnableCanvas2dDynamicRenderingModeSwitching[] = | 369 const char kEnableCanvas2dDynamicRenderingModeSwitching[] = |
370 "enable-canvas-2d-dynamic-rendering-mode-switching"; | 370 "enable-canvas-2d-dynamic-rendering-mode-switching"; |
371 | 371 |
| 372 // Enable color space aware rasterization and compositing. |
| 373 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; |
| 374 |
372 // Enable experimental canvas features, e.g. canvas 2D context attributes | 375 // Enable experimental canvas features, e.g. canvas 2D context attributes |
373 const char kEnableExperimentalCanvasFeatures[] = | 376 const char kEnableExperimentalCanvasFeatures[] = |
374 "enable-experimental-canvas-features"; | 377 "enable-experimental-canvas-features"; |
375 | 378 |
376 // Enables Web Platform features that are in development. | 379 // Enables Web Platform features that are in development. |
377 const char kEnableExperimentalWebPlatformFeatures[] = | 380 const char kEnableExperimentalWebPlatformFeatures[] = |
378 "enable-experimental-web-platform-features"; | 381 "enable-experimental-web-platform-features"; |
379 | 382 |
380 // Comma-separated list of feature names to enable. See also kDisableFeatures. | 383 // Comma-separated list of feature names to enable. See also kDisableFeatures. |
381 const char kEnableFeatures[] = "enable-features"; | 384 const char kEnableFeatures[] = "enable-features"; |
(...skipping 22 matching lines...) Expand all Loading... |
404 | 407 |
405 // Allow heuristics to determine when a layer tile should be drawn with the | 408 // Allow heuristics to determine when a layer tile should be drawn with the |
406 // Skia GPU backend. Only valid with GPU accelerated compositing + | 409 // Skia GPU backend. Only valid with GPU accelerated compositing + |
407 // impl-side painting. | 410 // impl-side painting. |
408 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; | 411 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
409 | 412 |
410 // When using CPU rasterizing generate low resolution tiling. Low res | 413 // When using CPU rasterizing generate low resolution tiling. Low res |
411 // tiles may be displayed during fast scrolls especially on slower devices. | 414 // tiles may be displayed during fast scrolls especially on slower devices. |
412 const char kEnableLowResTiling[] = "enable-low-res-tiling"; | 415 const char kEnableLowResTiling[] = "enable-low-res-tiling"; |
413 | 416 |
414 // Dynamically apply color profiles to web content images. | |
415 const char kEnableImageColorProfiles[] = "enable-image-color-profiles"; | |
416 | |
417 // Force logging to be enabled. Logging is disabled by default in release | 417 // Force logging to be enabled. Logging is disabled by default in release |
418 // builds. | 418 // builds. |
419 const char kEnableLogging[] = "enable-logging"; | 419 const char kEnableLogging[] = "enable-logging"; |
420 | 420 |
421 // Enables the memory benchmarking extension | 421 // Enables the memory benchmarking extension |
422 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 422 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
423 | 423 |
424 // Enables the network information API. | 424 // Enables the network information API. |
425 const char kEnableNetworkInformation[] = "enable-network-information"; | 425 const char kEnableNetworkInformation[] = "enable-network-information"; |
426 | 426 |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1076 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1077 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1077 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1078 | 1078 |
1079 // Specifies the testcase used by the IPC fuzzer. | 1079 // Specifies the testcase used by the IPC fuzzer. |
1080 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1080 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1081 #endif | 1081 #endif |
1082 | 1082 |
1083 // Don't dump stuff here, follow the same order as the header. | 1083 // Don't dump stuff here, follow the same order as the header. |
1084 | 1084 |
1085 } // namespace switches | 1085 } // namespace switches |
OLD | NEW |