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

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

Issue 1139903005: Add PERSISTENT_MAP usage for GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: persistentmap: fixmandolinebetter Created 5 years, 7 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
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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 extern const char kUIPrioritizeInGpuProcess[] = 832 extern const char kUIPrioritizeInGpuProcess[] =
833 "ui-prioritize-in-gpu-process"; 833 "ui-prioritize-in-gpu-process";
834 834
835 // Bypass the media stream infobar by selecting the default device for media 835 // Bypass the media stream infobar by selecting the default device for media
836 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. 836 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
837 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; 837 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream";
838 838
839 // Enable native GPU memory buffer support when available. 839 // Enable native GPU memory buffer support when available.
840 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers"; 840 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers";
841 841
842 // Overrides the default texture target used with CHROMIUM_image extension. 842 // Overrides the default texture target used with CHROMIUM_image extension for
843 const char kUseImageTextureTarget[] = "use-image-texture-target"; 843 // mapable GpuMemoryBuffers.
844 const char kMapImageTextureTarget[] = "map-image-texture-target";
845
846 // Overrides the default texture target used with CHROMIUM_image extension for
847 // persistent-mapable GpuMemoryBuffers.
848 const char kPersistentMapImageTextureTarget[] =
849 "persistent-map-image-texture-target";
844 850
845 // Set when Chromium should use a mobile user agent. 851 // Set when Chromium should use a mobile user agent.
846 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 852 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
847 853
848 // Use normal priority for tile task worker threads. Otherwise they may 854 // Use normal priority for tile task worker threads. Otherwise they may
849 // be run at background priority on some platforms. 855 // be run at background priority on some platforms.
850 const char kUseNormalPriorityForTileTaskWorkerThreads[] = 856 const char kUseNormalPriorityForTileTaskWorkerThreads[] =
851 "use-normal-priority-for-tile-task-worker-threads"; 857 "use-normal-priority-for-tile-task-worker-threads";
852 858
853 // Use the new surfaces system to handle compositor delegation. 859 // Use the new surfaces system to handle compositor delegation.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 // Windows Vista and later. 1000 // Windows Vista and later.
995 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1001 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
996 #endif 1002 #endif
997 1003
998 // Enables the use of NPAPI plugins. 1004 // Enables the use of NPAPI plugins.
999 const char kEnableNpapi[] = "enable-npapi"; 1005 const char kEnableNpapi[] = "enable-npapi";
1000 1006
1001 // Don't dump stuff here, follow the same order as the header. 1007 // Don't dump stuff here, follow the same order as the header.
1002 1008
1003 } // namespace switches 1009 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698