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

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

Issue 699073004: content: Add command line flag for native GPU memory buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu-memory-buffer-impl-unittests
Patch Set: fix unit test failures on macosx Created 6 years 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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 extern const char kUIPrioritizeInGpuProcess[] = 834 extern const char kUIPrioritizeInGpuProcess[] =
835 "ui-prioritize-in-gpu-process"; 835 "ui-prioritize-in-gpu-process";
836 836
837 // Overrides the preferred discardable memory implementation. 837 // Overrides the preferred discardable memory implementation.
838 const char kUseDiscardableMemory[] = "use-discardable-memory"; 838 const char kUseDiscardableMemory[] = "use-discardable-memory";
839 839
840 // Bypass the media stream infobar by selecting the default device for media 840 // Bypass the media stream infobar by selecting the default device for media
841 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. 841 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
842 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; 842 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream";
843 843
844 // Enable native GPU memory buffer support when available.
845 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers";
846
847 // Use TEXTURE_EXTERNAL_OES target with CHROMIUM_image extension.
848 const char kUseImageExternal[] = "use-image-external";
849
844 // Set when Chromium should use a mobile user agent. 850 // Set when Chromium should use a mobile user agent.
845 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 851 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
846 852
847 // Use the new surfaces system to handle compositor delegation. 853 // Use the new surfaces system to handle compositor delegation.
848 const char kUseSurfaces[] = "use-surfaces"; 854 const char kUseSurfaces[] = "use-surfaces";
849 855
850 // On POSIX only: the contents of this flag are prepended to the utility 856 // On POSIX only: the contents of this flag are prepended to the utility
851 // process command line. Useful values might be "valgrind" or "xterm -e gdb 857 // process command line. Useful values might be "valgrind" or "xterm -e gdb
852 // --args". 858 // --args".
853 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; 859 const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 #endif 988 #endif
983 989
984 #if defined(ENABLE_PLUGINS) 990 #if defined(ENABLE_PLUGINS)
985 // Enables the plugin power saver feature. 991 // Enables the plugin power saver feature.
986 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 992 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
987 #endif 993 #endif
988 994
989 // Don't dump stuff here, follow the same order as the header. 995 // Don't dump stuff here, follow the same order as the header.
990 996
991 } // namespace switches 997 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698