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

Unified Diff: ui/compositor/compositor_switches.cc

Issue 236313006: cc: Add initial GPU-to-GPU copy rasterizer implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 8 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
« no previous file with comments | « ui/compositor/compositor_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor_switches.cc
diff --git a/ui/compositor/compositor_switches.cc b/ui/compositor/compositor_switches.cc
index d63b269e2ed7c637a6c2115573eb73b062a0b2e6..a7ffc1465a0f9f2abc55e420857912ff931f6709 100644
--- a/ui/compositor/compositor_switches.cc
+++ b/ui/compositor/compositor_switches.cc
@@ -19,7 +19,7 @@ const char kUIDisableThreadedCompositing[] = "ui-disable-threaded-compositing";
const char kUIEnableImplSidePainting[] = "ui-enable-impl-side-painting";
-const char kUIEnableMapImage[] = "ui-enable-map-image";
+const char kUIEnableZeroCopy[] = "ui-enable-zero-copy";
const char kUIShowPaintRects[] = "ui-show-paint-rects";
@@ -33,10 +33,10 @@ bool IsUIImplSidePaintingEnabled() {
return command_line.HasSwitch(switches::kUIEnableImplSidePainting);
}
-bool IsUIMapImageEnabled() {
+bool IsUIZeroCopyEnabled() {
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
- return command_line.HasSwitch(switches::kUIEnableMapImage);
+ return command_line.HasSwitch(switches::kUIEnableZeroCopy);
}
} // namespace ui
« no previous file with comments | « ui/compositor/compositor_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698