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

Unified Diff: content/public/common/content_switches.cc

Issue 1139903005: Add PERSISTENT_MAP usage for GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: persistentmap: fixmandolinebetter Created 5 years, 7 months 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 e31b91a053b1a476d75fb948dad0cb711fda65cc..72e2b1cfcdb23311d9cf79f5acf4f22aaebac3c2 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -839,8 +839,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";
-// Overrides the default texture target used with CHROMIUM_image extension.
-const char kUseImageTextureTarget[] = "use-image-texture-target";
+// Overrides the default texture target used with CHROMIUM_image extension for
+// mapable GpuMemoryBuffers.
+const char kMapImageTextureTarget[] = "map-image-texture-target";
+
+// Overrides the default texture target used with CHROMIUM_image extension for
+// persistent-mapable GpuMemoryBuffers.
+const char kPersistentMapImageTextureTarget[] =
+ "persistent-map-image-texture-target";
// 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