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

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

Issue 2328133002: Add cc::LayerTreeSettings for color correct rendering (Closed)
Patch Set: Move to LayerTreeSettings Created 4 years, 3 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
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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 // 2. Force: browser always uses display list for 2d canvas. 358 // 2. Force: browser always uses display list for 2d canvas.
359 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; 359 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
360 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; 360 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
361 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; 361 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
362 362
363 // Enables dynamic rendering pipeline switching to optimize the 363 // Enables dynamic rendering pipeline switching to optimize the
364 // performance of 2d canvas 364 // performance of 2d canvas
365 const char kEnableCanvas2dDynamicRenderingModeSwitching[] = 365 const char kEnableCanvas2dDynamicRenderingModeSwitching[] =
366 "enable-canvas-2d-dynamic-rendering-mode-switching"; 366 "enable-canvas-2d-dynamic-rendering-mode-switching";
367 367
368 // Enable color space aware rasterization and compositing.
369 const char kEnableColorCorrectRendering[] = "enable-color-correct-rendering";
370
371 // Enable experimental canvas features, e.g. canvas 2D context attributes 368 // Enable experimental canvas features, e.g. canvas 2D context attributes
372 const char kEnableExperimentalCanvasFeatures[] = 369 const char kEnableExperimentalCanvasFeatures[] =
373 "enable-experimental-canvas-features"; 370 "enable-experimental-canvas-features";
374 371
375 // Enables Web Platform features that are in development. 372 // Enables Web Platform features that are in development.
376 const char kEnableExperimentalWebPlatformFeatures[] = 373 const char kEnableExperimentalWebPlatformFeatures[] =
377 "enable-experimental-web-platform-features"; 374 "enable-experimental-web-platform-features";
378 375
379 // Comma-separated list of feature names to enable. See also kDisableFeatures. 376 // Comma-separated list of feature names to enable. See also kDisableFeatures.
380 const char kEnableFeatures[] = "enable-features"; 377 const char kEnableFeatures[] = "enable-features";
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 // the given directory. Used primarily to gather samples for IPC fuzzing. 1067 // the given directory. Used primarily to gather samples for IPC fuzzing.
1071 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1068 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1072 1069
1073 // Specifies the testcase used by the IPC fuzzer. 1070 // Specifies the testcase used by the IPC fuzzer.
1074 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1071 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1075 #endif 1072 #endif
1076 1073
1077 // Don't dump stuff here, follow the same order as the header. 1074 // Don't dump stuff here, follow the same order as the header.
1078 1075
1079 } // namespace switches 1076 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698