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 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 Loading... |
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 | |
137 // Disable the limit on the number of times the GPU process may be restarted | 134 // Disable the limit on the number of times the GPU process may be restarted |
138 // This switch is intended only for tests. | 135 // This switch is intended only for tests. |
139 extern const char kDisableGpuProcessCrashLimit[] = | 136 extern const char kDisableGpuProcessCrashLimit[] = |
140 "disable-gpu-process-crash-limit"; | 137 "disable-gpu-process-crash-limit"; |
141 | 138 |
142 // Disable GPU rasterization, i.e. rasterize on the CPU only. | 139 // Disable GPU rasterization, i.e. rasterize on the CPU only. |
143 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. | 140 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. |
144 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; | 141 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; |
145 | 142 |
146 // When using CPU rasterizing disable low resolution tiling. This uses | 143 // When using CPU rasterizing disable low resolution tiling. This uses |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 const char kEnableNpapi[] = "enable-npapi"; | 981 const char kEnableNpapi[] = "enable-npapi"; |
985 | 982 |
986 #if defined(ENABLE_PLUGINS) | 983 #if defined(ENABLE_PLUGINS) |
987 // Enables the plugin power saver feature. | 984 // Enables the plugin power saver feature. |
988 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 985 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
989 #endif | 986 #endif |
990 | 987 |
991 // Don't dump stuff here, follow the same order as the header. | 988 // Don't dump stuff here, follow the same order as the header. |
992 | 989 |
993 } // namespace switches | 990 } // namespace switches |
OLD | NEW |