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

Unified Diff: content/renderer/render_thread_impl.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 | « content/renderer/render_thread_impl.h ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 58407c89bb110256ad7b1405ceeb5ff3aae4d5d7..38adeb829de49e8cfa0fd10bcebe33a247e1e98b 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -409,9 +409,10 @@ void RenderThreadImpl::Init() {
webkit::WebLayerImpl::SetImplSidePaintingEnabled(
is_impl_side_painting_enabled_);
- is_map_image_enabled_ =
- command_line.HasSwitch(switches::kEnableMapImage) &&
- !command_line.HasSwitch(switches::kDisableMapImage);
+ is_zero_copy_enabled_ = command_line.HasSwitch(switches::kEnableZeroCopy) &&
+ !command_line.HasSwitch(switches::kDisableZeroCopy);
+
+ is_one_copy_enabled_ = command_line.HasSwitch(switches::kEnableOneCopy);
if (command_line.HasSwitch(switches::kDisableLCDText)) {
is_lcd_text_enabled_ = false;
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698