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

Side by Side Diff: cc/base/switches.cc

Issue 2530503003: Add --enable-true-color-rendering flag (Closed)
Patch Set: Rebase Created 4 years 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 | « cc/base/switches.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('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 "cc/base/switches.h" 5 #include "cc/base/switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace cc { 9 namespace cc {
10 namespace switches { 10 namespace switches {
(...skipping 28 matching lines...) Expand all
39 const char kBrowserControlsShowThreshold[] = "top-controls-show-threshold"; 39 const char kBrowserControlsShowThreshold[] = "top-controls-show-threshold";
40 40
41 // Re-rasters everything multiple times to simulate a much slower machine. 41 // Re-rasters everything multiple times to simulate a much slower machine.
42 // Give a scale factor to cause raster to take that many times longer to 42 // Give a scale factor to cause raster to take that many times longer to
43 // complete, such as --slow-down-raster-scale-factor=25. 43 // complete, such as --slow-down-raster-scale-factor=25.
44 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; 44 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor";
45 45
46 // Compress tile textures for GPUs supporting it. 46 // Compress tile textures for GPUs supporting it.
47 const char kEnableTileCompression[] = "enable-tile-compression"; 47 const char kEnableTileCompression[] = "enable-tile-compression";
48 48
49 // Enable color space aware rasterization and compositing. 49 // Convert rasterization and compositing inputs to the output color space
50 // before operating on them.
50 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering"; 51 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering";
51 52
52 // Enables the GPU benchmarking extension 53 // Enables the GPU benchmarking extension
53 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 54 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
54 55
56 // Force all rasterization and compositing to be done in linear color space,
57 // with physically correct blending and interpolation.
58 const char kEnableTrueColorRendering[] = "enable-true-color-rendering";
59
55 // Renders a border around compositor layers to help debug and study 60 // Renders a border around compositor layers to help debug and study
56 // layer compositing. 61 // layer compositing.
57 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders"; 62 const char kShowCompositedLayerBorders[] = "show-composited-layer-borders";
58 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders"; 63 const char kUIShowCompositedLayerBorders[] = "ui-show-layer-borders";
59 64
60 // Renders a green border around GL composited texture quads to help 65 // Renders a green border around GL composited texture quads to help
61 // debug and study overlay support. 66 // debug and study overlay support.
62 const char kGlCompositedTextureQuadBorder[] = 67 const char kGlCompositedTextureQuadBorder[] =
63 "gl-composited-texture-quad-border"; 68 "gl-composited-texture-quad-border";
64 69
(...skipping 29 matching lines...) Expand all
94 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; 99 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
95 100
96 // Increases timeout for memory checkers. 101 // Increases timeout for memory checkers.
97 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; 102 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout";
98 103
99 // Makes pixel tests write their output instead of read it. 104 // Makes pixel tests write their output instead of read it.
100 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 105 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
101 106
102 } // namespace switches 107 } // namespace switches
103 } // namespace cc 108 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698