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

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: make "external" and "rectangle" a global constant 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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 // Overrides the preferred discardable memory implementation. 842 // Overrides the preferred discardable memory implementation.
843 const char kUseDiscardableMemory[] = "use-discardable-memory"; 843 const char kUseDiscardableMemory[] = "use-discardable-memory";
844 844
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 // Overrides the default texture target used with CHROMIUM_image extension.
853 const char kUseImageExternal[] = "use-image-external"; 853 const char kUseImageTextureTarget[] = "use-image-texture-target";
854
855 // Texture backed image requires GL_TEXTURE_RECTANGLE_ARB target.
856 const char kImageTextureRectangle[] = "image-texture-rectangle";
857
858 // Texture backed image requires GL_TEXTURE_EXTERNAL_OES target.
859 const char kImageTextureExternal[] = "image-texture-external";
854 860
855 // Set when Chromium should use a mobile user agent. 861 // Set when Chromium should use a mobile user agent.
856 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 862 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
857 863
858 // Use the new surfaces system to handle compositor delegation. 864 // Use the new surfaces system to handle compositor delegation.
859 const char kUseSurfaces[] = "use-surfaces"; 865 const char kUseSurfaces[] = "use-surfaces";
860 866
861 // On POSIX only: the contents of this flag are prepended to the utility 867 // 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 868 // process command line. Useful values might be "valgrind" or "xterm -e gdb
863 // --args". 869 // --args".
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 #endif 1003 #endif
998 1004
999 #if defined(ENABLE_PLUGINS) 1005 #if defined(ENABLE_PLUGINS)
1000 // Enables the plugin power saver feature. 1006 // Enables the plugin power saver feature.
1001 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 1007 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
1002 #endif 1008 #endif
1003 1009
1004 // Don't dump stuff here, follow the same order as the header. 1010 // Don't dump stuff here, follow the same order as the header.
1005 1011
1006 } // namespace switches 1012 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698