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

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: 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 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..ad7cd7eb60a84a0e703d3a6b2f10ca7748db4110 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -852,6 +852,9 @@ const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers";
// Use TEXTURE_EXTERNAL_OES target with CHROMIUM_image extension.
const char kUseImageExternal[] = "use-image-external";
+// Use IOSurface backed images with CHROMIUM_image extension.
+const char kUseImageIOSurface[] = "use-image-io-surface";
+
// 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