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

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

Issue 1308913003: Re-land: Enable GpuMemoryBuffers video frames on MacOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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') | content/renderer/render_thread_impl.cc » ('j') | 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 extern const char kDisableGpuProcessCrashLimit[] = 135 extern const char kDisableGpuProcessCrashLimit[] =
132 "disable-gpu-process-crash-limit"; 136 "disable-gpu-process-crash-limit";
133 137
134 // Disable GPU rasterization, i.e. rasterize on the CPU only. 138 // Disable GPU rasterization, i.e. rasterize on the CPU only.
135 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. 139 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags.
136 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; 140 const char kDisableGpuRasterization[] = "disable-gpu-rasterization";
137 141
138 // When using CPU rasterizing disable low resolution tiling. This uses 142 // When using CPU rasterizing disable low resolution tiling. This uses
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 996 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
993 997
994 // Enables the exporting of the tracing events to ETW. This is only supported on 998 // Enables the exporting of the tracing events to ETW. This is only supported on
995 // Windows Vista and later. 999 // Windows Vista and later.
996 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1000 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
997 #endif 1001 #endif
998 1002
999 // Don't dump stuff here, follow the same order as the header. 1003 // Don't dump stuff here, follow the same order as the header.
1000 1004
1001 } // namespace switches 1005 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698