Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Side by Side Diff: content/public/common/content_switches.cc

Issue 2216073002: Color: Add ColorCorrectRendering flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decoder_profile
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // 2. Force: browser always uses display list for 2d canvas. 366 // 2. Force: browser always uses display list for 2d canvas.
367 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; 367 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
368 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; 368 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
369 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; 369 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
370 370
371 // Enables dynamic rendering pipeline switching to optimize the 371 // Enables dynamic rendering pipeline switching to optimize the
372 // performance of 2d canvas 372 // performance of 2d canvas
373 const char kEnableCanvas2dDynamicRenderingModeSwitching[] = 373 const char kEnableCanvas2dDynamicRenderingModeSwitching[] =
374 "enable-canvas-2d-dynamic-rendering-mode-switching"; 374 "enable-canvas-2d-dynamic-rendering-mode-switching";
375 375
376 // Enable color space aware rasterization and compositing.
377 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering";
378
376 // Enable experimental canvas features, e.g. canvas 2D context attributes 379 // Enable experimental canvas features, e.g. canvas 2D context attributes
377 const char kEnableExperimentalCanvasFeatures[] = 380 const char kEnableExperimentalCanvasFeatures[] =
378 "enable-experimental-canvas-features"; 381 "enable-experimental-canvas-features";
379 382
380 // Enables Web Platform features that are in development. 383 // Enables Web Platform features that are in development.
381 const char kEnableExperimentalWebPlatformFeatures[] = 384 const char kEnableExperimentalWebPlatformFeatures[] =
382 "enable-experimental-web-platform-features"; 385 "enable-experimental-web-platform-features";
383 386
384 // Comma-separated list of feature names to enable. See also kDisableFeatures. 387 // Comma-separated list of feature names to enable. See also kDisableFeatures.
385 const char kEnableFeatures[] = "enable-features"; 388 const char kEnableFeatures[] = "enable-features";
(...skipping 22 matching lines...) Expand all
408 411
409 // Allow heuristics to determine when a layer tile should be drawn with the 412 // Allow heuristics to determine when a layer tile should be drawn with the
410 // Skia GPU backend. Only valid with GPU accelerated compositing + 413 // Skia GPU backend. Only valid with GPU accelerated compositing +
411 // impl-side painting. 414 // impl-side painting.
412 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; 415 const char kEnableGpuRasterization[] = "enable-gpu-rasterization";
413 416
414 // When using CPU rasterizing generate low resolution tiling. Low res 417 // When using CPU rasterizing generate low resolution tiling. Low res
415 // tiles may be displayed during fast scrolls especially on slower devices. 418 // tiles may be displayed during fast scrolls especially on slower devices.
416 const char kEnableLowResTiling[] = "enable-low-res-tiling"; 419 const char kEnableLowResTiling[] = "enable-low-res-tiling";
417 420
418 // Dynamically apply color profiles to web content images.
419 const char kEnableImageColorProfiles[] = "enable-image-color-profiles";
420
421 // Force logging to be enabled. Logging is disabled by default in release 421 // Force logging to be enabled. Logging is disabled by default in release
422 // builds. 422 // builds.
423 const char kEnableLogging[] = "enable-logging"; 423 const char kEnableLogging[] = "enable-logging";
424 424
425 // Enables the memory benchmarking extension 425 // Enables the memory benchmarking extension
426 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; 426 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
427 427
428 // Enables the network information API. 428 // Enables the network information API.
429 const char kEnableNetworkInformation[] = "enable-network-information"; 429 const char kEnableNetworkInformation[] = "enable-network-information";
430 430
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 // the given directory. Used primarily to gather samples for IPC fuzzing. 1080 // the given directory. Used primarily to gather samples for IPC fuzzing.
1081 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1081 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1082 1082
1083 // Specifies the testcase used by the IPC fuzzer. 1083 // Specifies the testcase used by the IPC fuzzer.
1084 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1084 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1085 #endif 1085 #endif
1086 1086
1087 // Don't dump stuff here, follow the same order as the header. 1087 // Don't dump stuff here, follow the same order as the header.
1088 1088
1089 } // namespace switches 1089 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698