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

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: Tests appear to be flaky on Windows, disabling there. Created 5 years, 9 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // Disable Stage3D inside of flapper. 124 // Disable Stage3D inside of flapper.
125 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; 125 const char kDisableFlashStage3d[] = "disable-flash-stage3d";
126 126
127 // Disables GPU hardware acceleration. If software renderer is not in place, 127 // Disables GPU hardware acceleration. If software renderer is not in place,
128 // then the GPU process won't launch. 128 // then the GPU process won't launch.
129 const char kDisableGpu[] = "disable-gpu"; 129 const char kDisableGpu[] = "disable-gpu";
130 130
131 // Prevent the compositor from using its GPU implementation. 131 // Prevent the compositor from using its GPU implementation.
132 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; 132 const char kDisableGpuCompositing[] = "disable-gpu-compositing";
133 133
134 // Disable proactive early init of GPU process.
135 const char kDisableGpuEarlyInit[] = "disable-gpu-early-init";
136
134 // Disable the limit on the number of times the GPU process may be restarted 137 // Disable the limit on the number of times the GPU process may be restarted
135 // This switch is intended only for tests. 138 // This switch is intended only for tests.
136 extern const char kDisableGpuProcessCrashLimit[] = 139 extern const char kDisableGpuProcessCrashLimit[] =
137 "disable-gpu-process-crash-limit"; 140 "disable-gpu-process-crash-limit";
138 141
139 // Disable GPU rasterization, i.e. rasterize on the CPU only. 142 // Disable GPU rasterization, i.e. rasterize on the CPU only.
140 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. 143 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags.
141 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; 144 const char kDisableGpuRasterization[] = "disable-gpu-rasterization";
142 145
143 // When using CPU rasterizing disable low resolution tiling. This uses 146 // When using CPU rasterizing disable low resolution tiling. This uses
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 const char kEnableNpapi[] = "enable-npapi"; 984 const char kEnableNpapi[] = "enable-npapi";
982 985
983 #if defined(ENABLE_PLUGINS) 986 #if defined(ENABLE_PLUGINS)
984 // Enables the plugin power saver feature. 987 // Enables the plugin power saver feature.
985 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 988 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
986 #endif 989 #endif
987 990
988 // Don't dump stuff here, follow the same order as the header. 991 // Don't dump stuff here, follow the same order as the header.
989 992
990 } // namespace switches 993 } // 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