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

Unified Diff: ui/gfx/compositor/compositor.cc

Issue 9297006: Add per-tile painting support to compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 10 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 | « no previous file | ui/gfx/compositor/compositor.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/compositor.cc
diff --git a/ui/gfx/compositor/compositor.cc b/ui/gfx/compositor/compositor.cc
index 4fa47a485d6d7a53ff54855edda008f6b5e0c2ef..9d290e2ad84cb2f0861686efcd24b983c756da9d 100644
--- a/ui/gfx/compositor/compositor.cc
+++ b/ui/gfx/compositor/compositor.cc
@@ -136,6 +136,10 @@ Compositor::Compositor(CompositorDelegate* delegate,
kTestRefreshRate : kDefaultRefreshRate;
settings.partialSwapEnabled =
command_line->HasSwitch(switches::kUIEnablePartialSwap);
+#if defined(PER_TILE_PAINTING)
+ settings.perTilePainting =
+ command_line->HasSwitch(switches::kUIEnablePerTilePainting);
+#endif
host_ = WebKit::WebLayerTreeView::create(this, root_web_layer_, settings);
root_web_layer_.setAnchorPoint(WebKit::WebFloatPoint(0.f, 0.f));
« no previous file with comments | « no previous file | ui/gfx/compositor/compositor.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698