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

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

Issue 1421293006: Mac: Use GpuMemoryBuffers by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable when native GMBs are disabled Created 5 years, 1 month 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Disables GPU hardware acceleration. If software renderer is not in place, 115 // Disables GPU hardware acceleration. If software renderer is not in place,
116 // then the GPU process won't launch. 116 // then the GPU process won't launch.
117 const char kDisableGpu[] = "disable-gpu"; 117 const char kDisableGpu[] = "disable-gpu";
118 118
119 // Prevent the compositor from using its GPU implementation. 119 // Prevent the compositor from using its GPU implementation.
120 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; 120 const char kDisableGpuCompositing[] = "disable-gpu-compositing";
121 121
122 // Disable proactive early init of GPU process. 122 // Disable proactive early init of GPU process.
123 const char kDisableGpuEarlyInit[] = "disable-gpu-early-init"; 123 const char kDisableGpuEarlyInit[] = "disable-gpu-early-init";
124 124
125 // Do not force that all compositor resources be backed by GPU memory buffers.
126 const char kDisableGpuMemoryBufferCompositorResources[] =
127 "disable-gpu-memory-buffer-compositor-resources";
128
125 // Disable GpuMemoryBuffer backed VideoFrames. 129 // Disable GpuMemoryBuffer backed VideoFrames.
126 const char kDisableGpuMemoryBufferVideoFrames[] = 130 const char kDisableGpuMemoryBufferVideoFrames[] =
127 "disable-gpu-memory-buffer-video-frames"; 131 "disable-gpu-memory-buffer-video-frames";
128 132
129 // Disable the limit on the number of times the GPU process may be restarted 133 // Disable the limit on the number of times the GPU process may be restarted
130 // This switch is intended only for tests. 134 // This switch is intended only for tests.
131 const char kDisableGpuProcessCrashLimit[] = "disable-gpu-process-crash-limit"; 135 const char kDisableGpuProcessCrashLimit[] = "disable-gpu-process-crash-limit";
132 136
133 // Disable GPU rasterization, i.e. rasterize on the CPU only. 137 // Disable GPU rasterization, i.e. rasterize on the CPU only.
134 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. 138 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags.
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 975 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
972 976
973 // Enables the exporting of the tracing events to ETW. This is only supported on 977 // Enables the exporting of the tracing events to ETW. This is only supported on
974 // Windows Vista and later. 978 // Windows Vista and later.
975 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 979 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
976 #endif 980 #endif
977 981
978 // Don't dump stuff here, follow the same order as the header. 982 // Don't dump stuff here, follow the same order as the header.
979 983
980 } // namespace switches 984 } // 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