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

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

Issue 2141793002: Improving canvas 2D performance by switching graphics rendering pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; 354 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation";
355 355
356 // Enables display list based 2d canvas implementation. Options: 356 // Enables display list based 2d canvas implementation. Options:
357 // 1. Enable: allow browser to use display list for 2d canvas (browser makes 357 // 1. Enable: allow browser to use display list for 2d canvas (browser makes
358 // decision). 358 // decision).
359 // 2. Force: browser always uses display list for 2d canvas. 359 // 2. Force: browser always uses display list for 2d canvas.
360 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; 360 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
361 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; 361 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
362 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; 362 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
363 363
364 // Enables dynamic rendering pipeline switching to optimize the
365 // performance of 2d canvas
366 const char kEnableCanvas2dDynamicPipelineMode[] =
367 "enable-canvas-2d-dynamic-pipeline-mode";
Justin Novosad 2016/07/12 19:31:23 pipeline->rendering Pipeline is a loaded word that
sebastienlc 2016/07/13 19:51:02 Done.
368
364 // Enable experimental canvas features, e.g. canvas 2D context attributes 369 // Enable experimental canvas features, e.g. canvas 2D context attributes
365 const char kEnableExperimentalCanvasFeatures[] = 370 const char kEnableExperimentalCanvasFeatures[] =
366 "enable-experimental-canvas-features"; 371 "enable-experimental-canvas-features";
367 372
368 // Enables Web Platform features that are in development. 373 // Enables Web Platform features that are in development.
369 const char kEnableExperimentalWebPlatformFeatures[] = 374 const char kEnableExperimentalWebPlatformFeatures[] =
370 "enable-experimental-web-platform-features"; 375 "enable-experimental-web-platform-features";
371 376
372 // Comma-separated list of feature names to enable. See also kDisableFeatures. 377 // Comma-separated list of feature names to enable. See also kDisableFeatures.
373 const char kEnableFeatures[] = "enable-features"; 378 const char kEnableFeatures[] = "enable-features";
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 // the given directory. Used primarily to gather samples for IPC fuzzing. 1069 // the given directory. Used primarily to gather samples for IPC fuzzing.
1065 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1070 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1066 1071
1067 // Specifies the testcase used by the IPC fuzzer. 1072 // Specifies the testcase used by the IPC fuzzer.
1068 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1073 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1069 #endif 1074 #endif
1070 1075
1071 // Don't dump stuff here, follow the same order as the header. 1076 // Don't dump stuff here, follow the same order as the header.
1072 1077
1073 } // namespace switches 1078 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698