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

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: make sure native buffers are disabled when using mesa Created 5 years, 5 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // Force logging to be disabled. Logging is enabled by default in debug 179 // Force logging to be disabled. Logging is enabled by default in debug
180 // builds. 180 // builds.
181 const char kDisableLogging[] = "disable-logging"; 181 const char kDisableLogging[] = "disable-logging";
182 182
183 // Disables Media Source API (i.e., the MediaSource object). 183 // Disables Media Source API (i.e., the MediaSource object).
184 const char kDisableMediaSource[] = "disable-media-source"; 184 const char kDisableMediaSource[] = "disable-media-source";
185 185
186 // Disables usage of the namespace sandbox. 186 // Disables usage of the namespace sandbox.
187 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox"; 187 const char kDisableNamespaceSandbox[] = "disable-namespace-sandbox";
188 188
189 // Disables native GPU memory buffer support.
190 const char kDisableNativeGpuMemoryBuffers[] =
191 "disable-native-gpu-memory-buffers";
192
189 // Disables the Web Notification and the Push APIs. 193 // Disables the Web Notification and the Push APIs.
190 const char kDisableNotifications[] = "disable-notifications"; 194 const char kDisableNotifications[] = "disable-notifications";
191 195
192 // Disable rasterizer that writes directly to GPU memory. 196 // Disable rasterizer that writes directly to GPU memory.
193 const char kDisableOneCopy[] = "disable-one-copy"; 197 const char kDisableOneCopy[] = "disable-one-copy";
194 198
195 // Disable Pepper3D. 199 // Disable Pepper3D.
196 const char kDisablePepper3d[] = "disable-pepper-3d"; 200 const char kDisablePepper3d[] = "disable-pepper-3d";
197 201
198 // Disables the Permissions API. 202 // Disables the Permissions API.
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 // Windows Vista and later. 1007 // Windows Vista and later.
1004 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1008 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1005 #endif 1009 #endif
1006 1010
1007 // Enables the use of NPAPI plugins. 1011 // Enables the use of NPAPI plugins.
1008 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; 1012 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing";
1009 1013
1010 // Don't dump stuff here, follow the same order as the header. 1014 // Don't dump stuff here, follow the same order as the header.
1011 1015
1012 } // namespace switches 1016 } // 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