summaryrefslogtreecommitdiffstats
path: root/cc/layer_tree_host.cc
diff options
context:
space:
mode:
authorleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-03 14:54:35 +0000
committerleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-03 14:54:35 +0000
commitd9c747afb8d40d0d5b8c2f183e43dc48028a0401 (patch)
treef9c863e989ea7fc872e2ad1cd62c0cbd8a1963a2 /cc/layer_tree_host.cc
parentefc8d157a0da4cf561399761d7d1d76435bc832c (diff)
downloadchromium_src-d9c747afb8d40d0d5b8c2f183e43dc48028a0401.zip
chromium_src-d9c747afb8d40d0d5b8c2f183e43dc48028a0401.tar.gz
chromium_src-d9c747afb8d40d0d5b8c2f183e43dc48028a0401.tar.bz2
Migrate the Android compositor to cc::Layer classes.
BUG=163210 Review URL: https://codereview.chromium.org/11428091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_tree_host.cc')
-rw-r--r--cc/layer_tree_host.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
index ed393fb..c1d3a97 100644
--- a/cc/layer_tree_host.cc
+++ b/cc/layer_tree_host.cc
@@ -110,6 +110,7 @@ LayerTreeSettings::LayerTreeSettings()
, minimumOcclusionTrackingSize(gfx::Size(160, 160))
{
// TODO(danakj): Move this to chromium when we don't go through the WebKit API anymore.
+ implSidePainting = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableImplSidePainting);
partialSwapEnabled = CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnablePartialSwap);
backgroundColorInsteadOfCheckerboard = CommandLine::ForCurrentProcess()->HasSwitch(switches::kBackgroundColorInsteadOfCheckerboard);
showOverdrawInTracing = CommandLine::ForCurrentProcess()->HasSwitch(switches::kTraceOverdraw);