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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index d77355530d8f9c1948a6976c241a68b133ccb3ea..9cd929c21ba4138a0e91a5d0c4a8eb18e98c44e7 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -849,8 +849,14 @@ const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream";
// Enable native GPU memory buffer support when available.
const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers";
-// Use TEXTURE_EXTERNAL_OES target with CHROMIUM_image extension.
-const char kUseImageExternal[] = "use-image-external";
+// Overrides the default texture target used with CHROMIUM_image extension.
+const char kUseImageTextureTarget[] = "use-image-texture-target";
+
+// Texture backed image requires GL_TEXTURE_RECTANGLE_ARB target.
+const char kImageTextureRectangle[] = "image-texture-rectangle";
+
+// Texture backed image requires GL_TEXTURE_EXTERNAL_OES target.
+const char kImageTextureExternal[] = "image-texture-external";
// Set when Chromium should use a mobile user agent.
const char kUseMobileUserAgent[] = "use-mobile-user-agent";

Powered by Google App Engine
This is Rietveld 408576698