Commit 5b26e159 authored by chrishtr@chromium.org's avatar chrishtr@chromium.org

Turn on GPU rasterization when --enable-bleeding-edge-rendering-fast-paths is true.

BUG=

Review URL: https://codereview.chromium.org/168183004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255155 0039d316-1c4b-4281-b951-d872f2087c98
parent b8f5bab3
......@@ -127,7 +127,9 @@ scoped_ptr<RenderWidgetCompositor> RenderWidgetCompositor::Create(
max_untiled_layer_height);
settings.impl_side_painting = cc::switches::IsImplSidePaintingEnabled();
settings.gpu_rasterization = cc::switches::IsGpuRasterizationEnabled();
settings.gpu_rasterization =
cc::switches::IsGpuRasterizationEnabled() ||
cmd->HasSwitch(switches::kEnableBleedingEdgeRenderingFastPaths);
settings.calculate_top_controls_position =
cmd->HasSwitch(cc::switches::kEnableTopControlsPositionCalculation);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment