| Index: ui/compositor/compositor.cc
|
| diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
|
| index b6b15f4b3863fbdb74b21ea0ad2ec72f0978bdce..ca3f11e8e6aa6f686dc7e7112c662b14d285aa42 100644
|
| --- a/ui/compositor/compositor.cc
|
| +++ b/ui/compositor/compositor.cc
|
| @@ -384,6 +384,8 @@ Compositor::Compositor(CompositorDelegate* delegate,
|
| ContextFactory::GetInstance()->DoesCreateTestContexts()
|
| ? kTestRefreshRate
|
| : kDefaultRefreshRate;
|
| + settings.deadline_scheduling_enabled =
|
| + cc::switches::IsDeadlineSchedulingEnabled();
|
| settings.partial_swap_enabled =
|
| !command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
|
| settings.per_tile_painting_enabled =
|
| @@ -526,6 +528,10 @@ void Compositor::Terminate() {
|
| g_compositor_initialized = false;
|
| }
|
|
|
| +const cc::LayerTreeSettings& Compositor::layer_tree_settings() const {
|
| + return host_->settings();
|
| +}
|
| +
|
| void Compositor::ScheduleDraw() {
|
| if (g_compositor_thread)
|
| host_->Composite(base::TimeTicks::Now());
|
|
|