OLD | NEW |
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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 const char kDisableGpu[] = "disable-gpu"; | 190 const char kDisableGpu[] = "disable-gpu"; |
191 | 191 |
192 // Prevent the compositor from using its GPU implementation. | 192 // Prevent the compositor from using its GPU implementation. |
193 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; | 193 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; |
194 | 194 |
195 // Disable the limit on the number of times the GPU process may be restarted | 195 // Disable the limit on the number of times the GPU process may be restarted |
196 // This switch is intended only for tests. | 196 // This switch is intended only for tests. |
197 extern const char kDisableGpuProcessCrashLimit[] = | 197 extern const char kDisableGpuProcessCrashLimit[] = |
198 "disable-gpu-process-crash-limit"; | 198 "disable-gpu-process-crash-limit"; |
199 | 199 |
200 // Do not launch the GPU process shortly after browser process launch. Instead | |
201 // launch it when it is first needed. | |
202 const char kDisableGpuProcessPrelaunch[] = "disable-gpu-process-prelaunch"; | |
203 | |
204 // Disable GPU rasterization, i.e. rasterize on the CPU only. | 200 // Disable GPU rasterization, i.e. rasterize on the CPU only. |
205 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. | 201 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. |
206 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; | 202 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; |
207 | 203 |
208 // When using CPU rasterizing disable low resolution tiling. This uses | 204 // When using CPU rasterizing disable low resolution tiling. This uses |
209 // less power, particularly during animations, but more white may be seen | 205 // less power, particularly during animations, but more white may be seen |
210 // during fast scrolling especially on slower devices. | 206 // during fast scrolling especially on slower devices. |
211 const char kDisableLowResTiling[] = "disable-low-res-tiling"; | 207 const char kDisableLowResTiling[] = "disable-low-res-tiling"; |
212 | 208 |
213 // Disable the GPU process sandbox. | 209 // Disable the GPU process sandbox. |
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1052 #endif | 1048 #endif |
1053 | 1049 |
1054 #if defined(OS_POSIX) | 1050 #if defined(OS_POSIX) |
1055 // Causes the child processes to cleanly exit via calling exit(). | 1051 // Causes the child processes to cleanly exit via calling exit(). |
1056 const char kChildCleanExit[] = "child-clean-exit"; | 1052 const char kChildCleanExit[] = "child-clean-exit"; |
1057 #endif | 1053 #endif |
1058 | 1054 |
1059 // Don't dump stuff here, follow the same order as the header. | 1055 // Don't dump stuff here, follow the same order as the header. |
1060 | 1056 |
1061 } // namespace switches | 1057 } // namespace switches |
OLD | NEW |