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

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

Issue 766663005: cc: zero/one-copy based on shared memory on IOS uses GL_TEXTURE_2D, not GL_TEXTURE_RECTANGLE_ARB. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce switches::kUseImageIOSurface 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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 // Bypass the media stream infobar by selecting the default device for media 845 // Bypass the media stream infobar by selecting the default device for media
846 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. 846 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
847 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; 847 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream";
848 848
849 // Enable native GPU memory buffer support when available. 849 // Enable native GPU memory buffer support when available.
850 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers"; 850 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers";
851 851
852 // Use TEXTURE_EXTERNAL_OES target with CHROMIUM_image extension. 852 // Use TEXTURE_EXTERNAL_OES target with CHROMIUM_image extension.
853 const char kUseImageExternal[] = "use-image-external"; 853 const char kUseImageExternal[] = "use-image-external";
854 854
855 // Use IOSurface backed images with CHROMIUM_image extension.
856 const char kUseImageIOSurface[] = "use-image-io-surface";
857
855 // Set when Chromium should use a mobile user agent. 858 // Set when Chromium should use a mobile user agent.
856 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 859 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
857 860
858 // Use the new surfaces system to handle compositor delegation. 861 // Use the new surfaces system to handle compositor delegation.
859 const char kUseSurfaces[] = "use-surfaces"; 862 const char kUseSurfaces[] = "use-surfaces";
860 863
861 // On POSIX only: the contents of this flag are prepended to the utility 864 // On POSIX only: the contents of this flag are prepended to the utility
862 // process command line. Useful values might be "valgrind" or "xterm -e gdb 865 // process command line. Useful values might be "valgrind" or "xterm -e gdb
863 // --args". 866 // --args".
864 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; 867 const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 #endif 1000 #endif
998 1001
999 #if defined(ENABLE_PLUGINS) 1002 #if defined(ENABLE_PLUGINS)
1000 // Enables the plugin power saver feature. 1003 // Enables the plugin power saver feature.
1001 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 1004 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
1002 #endif 1005 #endif
1003 1006
1004 // 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.
1005 1008
1006 } // namespace switches 1009 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698