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

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

Issue 1038783002: Add switch (for cast_shell) to defer creation of GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed CONTENT_EXPORT Created 5 years, 8 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') | no next file » | 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Path to the exe to run for the renderer and plugin subprocesses. 57 // Path to the exe to run for the renderer and plugin subprocesses.
58 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 58 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
59 59
60 // Dumps extra logging about plugin loading to the log file. 60 // Dumps extra logging about plugin loading to the log file.
61 const char kDebugPluginLoading[] = "debug-plugin-loading"; 61 const char kDebugPluginLoading[] = "debug-plugin-loading";
62 62
63 // Sets the tile size used by composited layers. 63 // Sets the tile size used by composited layers.
64 const char kDefaultTileWidth[] = "default-tile-width"; 64 const char kDefaultTileWidth[] = "default-tile-width";
65 const char kDefaultTileHeight[] = "default-tile-height"; 65 const char kDefaultTileHeight[] = "default-tile-height";
66 66
67 // Defer GPU process creation. Disables default logic for starting GPU process
68 // during browser main thread initialization. Content embedder is responsible
69 // for creating GPU process before it's needed.
piman 2015/03/26 20:26:19 nit: I don't think the last sentence is correct. W
halliwell 2015/03/26 21:58:11 I see, yes. Removed this part of the comment.
70 const char kDeferGpuProcessCreation[] = "defer-gpu-process-creation";
71
67 // Disable antialiasing on 2d canvas. 72 // Disable antialiasing on 2d canvas.
68 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; 73 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa";
69 74
70 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. 75 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
71 // This is controlled by policy and is kept separate from the other 76 // This is controlled by policy and is kept separate from the other
72 // enable/disable switches to avoid accidentally regressing the policy 77 // enable/disable switches to avoid accidentally regressing the policy
73 // support for controlling access to these APIs. 78 // support for controlling access to these APIs.
74 const char kDisable3DAPIs[] = "disable-3d-apis"; 79 const char kDisable3DAPIs[] = "disable-3d-apis";
75 80
76 // Disable gpu-accelerated 2d canvas. 81 // Disable gpu-accelerated 2d canvas.
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 const char kEnableNpapi[] = "enable-npapi"; 986 const char kEnableNpapi[] = "enable-npapi";
982 987
983 #if defined(ENABLE_PLUGINS) 988 #if defined(ENABLE_PLUGINS)
984 // Enables the plugin power saver feature. 989 // Enables the plugin power saver feature.
985 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 990 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
986 #endif 991 #endif
987 992
988 // Don't dump stuff here, follow the same order as the header. 993 // Don't dump stuff here, follow the same order as the header.
989 994
990 } // namespace switches 995 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698