diff options
author | vmiura <vmiura@chromium.org> | 2015-02-03 14:19:57 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-03 22:21:02 +0000 |
commit | 9084b34a9c65689297314f65c389e063556df88e (patch) | |
tree | 36143b9470ded40cd918d173cd30f9a03c30c565 /cc/trees/layer_tree_host_impl.cc | |
parent | d17dc45807d6041ea9df322a4fd4ecefbfcd1664 (diff) | |
download | chromium_src-9084b34a9c65689297314f65c389e063556df88e.zip chromium_src-9084b34a9c65689297314f65c389e063556df88e.tar.gz chromium_src-9084b34a9c65689297314f65c389e063556df88e.tar.bz2 |
Add a command-line flag to enable threaded GPU rasterization.
For now a no-op in the renderer.
Enable:
--enable-threaded-gpu-rasterization
Disable (which takes priority over Enable):
--disable-threaded-gpu-rasterization
BUG=454500
Review URL: https://codereview.chromium.org/895763002
Cr-Commit-Position: refs/heads/master@{#314418}
Diffstat (limited to 'cc/trees/layer_tree_host_impl.cc')
-rw-r--r-- | cc/trees/layer_tree_host_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc index c8ee69c..34278c6 100644 --- a/cc/trees/layer_tree_host_impl.cc +++ b/cc/trees/layer_tree_host_impl.cc @@ -1977,7 +1977,8 @@ scoped_ptr<Rasterizer> LayerTreeHostImpl::CreateRasterizer() { ContextProvider* context_provider = output_surface_->context_provider(); if (use_gpu_rasterization_ && context_provider) { return GpuRasterizer::Create(context_provider, resource_provider_.get(), - settings_.use_distance_field_text, false, + settings_.use_distance_field_text, + settings_.threaded_gpu_rasterization_enabled, settings_.gpu_rasterization_msaa_sample_count); } return SoftwareRasterizer::Create(); |