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

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

Issue 1165823003: Re-land: content: Enable native GpuMemoryBuffers by default on MacOSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 6 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') | 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // Force logging to be disabled. Logging is enabled by default in debug 188 // Force logging to be disabled. Logging is enabled by default in debug
189 // builds. 189 // builds.
190 const char kDisableLogging[] = "disable-logging"; 190 const char kDisableLogging[] = "disable-logging";
191 191
192 // Disables Media Source API (i.e., the MediaSource object). 192 // Disables Media Source API (i.e., the MediaSource object).
193 const char kDisableMediaSource[] = "disable-media-source"; 193 const char kDisableMediaSource[] = "disable-media-source";
194 194
195 // Disables usage of the namespace sandbox. 195 // Disables usage of the namespace sandbox.
196 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; 196 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox";
197 197
198 // Disables native GPU memory buffer support.
199 const char kDisableNativeGpuMemoryBuffers[] =
200 "disable-native-gpu-memory-buffers";
Avi (use Gerrit) 2015/06/10 23:08:39 Can we soon get rid of both? :)
201
198 // Disables the Web Notification and the Push APIs. 202 // Disables the Web Notification and the Push APIs.
199 const char kDisableNotifications[] = "disable-notifications"; 203 const char kDisableNotifications[] = "disable-notifications";
200 204
201 // Disable rasterizer that writes directly to GPU memory. 205 // Disable rasterizer that writes directly to GPU memory.
202 // Overrides the kEnableOneCopy flag. 206 // Overrides the kEnableOneCopy flag.
203 const char kDisableOneCopy[] = "disable-one-copy"; 207 const char kDisableOneCopy[] = "disable-one-copy";
204 208
205 // Disable Pepper3D. 209 // Disable Pepper3D.
206 const char kDisablePepper3d[] = "disable-pepper-3d"; 210 const char kDisablePepper3d[] = "disable-pepper-3d";
207 211
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 // Windows Vista and later. 1011 // Windows Vista and later.
1008 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1012 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1009 #endif 1013 #endif
1010 1014
1011 // Enables the use of NPAPI plugins. 1015 // Enables the use of NPAPI plugins.
1012 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; 1016 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing";
1013 1017
1014 // Don't dump stuff here, follow the same order as the header. 1018 // Don't dump stuff here, follow the same order as the header.
1015 1019
1016 } // namespace switches 1020 } // 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