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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // Disables GPU hardware acceleration. If software renderer is not in place, | 119 // Disables GPU hardware acceleration. If software renderer is not in place, |
120 // then the GPU process won't launch. | 120 // then the GPU process won't launch. |
121 const char kDisableGpu[] = "disable-gpu"; | 121 const char kDisableGpu[] = "disable-gpu"; |
122 | 122 |
123 // Prevent the compositor from using its GPU implementation. | 123 // Prevent the compositor from using its GPU implementation. |
124 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; | 124 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; |
125 | 125 |
126 // Disable proactive early init of GPU process. | 126 // Disable proactive early init of GPU process. |
127 const char kDisableGpuEarlyInit[] = "disable-gpu-early-init"; | 127 const char kDisableGpuEarlyInit[] = "disable-gpu-early-init"; |
128 | 128 |
129 // Disable GpuMemoryBuffer backed VideoFrames. | |
130 const char kDisableGpuMemoryBufferVideoFrames[] = | |
131 "disable-gpu-memory-buffer-video-frames"; | |
132 | |
133 // Disable the limit on the number of times the GPU process may be restarted | 129 // Disable the limit on the number of times the GPU process may be restarted |
134 // This switch is intended only for tests. | 130 // This switch is intended only for tests. |
135 extern const char kDisableGpuProcessCrashLimit[] = | 131 extern const char kDisableGpuProcessCrashLimit[] = |
136 "disable-gpu-process-crash-limit"; | 132 "disable-gpu-process-crash-limit"; |
137 | 133 |
138 // Disable GPU rasterization, i.e. rasterize on the CPU only. | 134 // Disable GPU rasterization, i.e. rasterize on the CPU only. |
139 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. | 135 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. |
140 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; | 136 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; |
141 | 137 |
142 // When using CPU rasterizing disable low resolution tiling. This uses | 138 // When using CPU rasterizing disable low resolution tiling. This uses |
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 992 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
997 | 993 |
998 // Enables the exporting of the tracing events to ETW. This is only supported on | 994 // Enables the exporting of the tracing events to ETW. This is only supported on |
999 // Windows Vista and later. | 995 // Windows Vista and later. |
1000 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 996 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1001 #endif | 997 #endif |
1002 | 998 |
1003 // Don't dump stuff here, follow the same order as the header. | 999 // Don't dump stuff here, follow the same order as the header. |
1004 | 1000 |
1005 } // namespace switches | 1001 } // namespace switches |
OLD | NEW |