| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/trees/single_thread_proxy.h" | 5 #include "cc/trees/single_thread_proxy.h" |
| 6 | 6 |
| 7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
| 8 #include "base/profiler/scoped_tracker.h" | 8 #include "base/profiler/scoped_tracker.h" |
| 9 #include "base/trace_event/trace_event.h" | 9 #include "base/trace_event/trace_event.h" |
| 10 #include "cc/animation/animation_events.h" | 10 #include "cc/animation/animation_events.h" |
| 11 #include "cc/debug/benchmark_instrumentation.h" | 11 #include "cc/debug/benchmark_instrumentation.h" |
| 12 #include "cc/debug/devtools_instrumentation.h" | 12 #include "cc/debug/devtools_instrumentation.h" |
| 13 #include "cc/output/context_provider.h" | 13 #include "cc/output/context_provider.h" |
| 14 #include "cc/output/output_surface.h" | 14 #include "cc/output/output_surface.h" |
| 15 #include "cc/quads/draw_quad.h" | 15 #include "cc/quads/draw_quad.h" |
| 16 #include "cc/scheduler/commit_earlyout_reason.h" | 16 #include "cc/scheduler/commit_earlyout_reason.h" |
| 17 #include "cc/scheduler/compositor_timing_history.h" | 17 #include "cc/scheduler/compositor_timing_history.h" |
| 18 #include "cc/scheduler/scheduler.h" | 18 #include "cc/scheduler/scheduler.h" |
| 19 #include "cc/trees/layer_tree_host.h" | 19 #include "cc/trees/layer_tree_host.h" |
| 20 #include "cc/trees/layer_tree_host_common.h" |
| 20 #include "cc/trees/layer_tree_host_single_thread_client.h" | 21 #include "cc/trees/layer_tree_host_single_thread_client.h" |
| 21 #include "cc/trees/layer_tree_impl.h" | 22 #include "cc/trees/layer_tree_impl.h" |
| 22 #include "cc/trees/scoped_abort_remaining_swap_promises.h" | 23 #include "cc/trees/scoped_abort_remaining_swap_promises.h" |
| 23 | 24 |
| 24 namespace cc { | 25 namespace cc { |
| 25 | 26 |
| 26 scoped_ptr<Proxy> SingleThreadProxy::Create( | 27 scoped_ptr<Proxy> SingleThreadProxy::Create( |
| 27 LayerTreeHost* layer_tree_host, | 28 LayerTreeHost* layer_tree_host, |
| 28 LayerTreeHostSingleThreadClient* client, | 29 LayerTreeHostSingleThreadClient* client, |
| 29 TaskRunnerProvider* task_runner_provider) { | 30 TaskRunnerProvider* task_runner_provider) { |
| (...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 << "DidFinishImplFrame called while not inside an impl frame!"; | 898 << "DidFinishImplFrame called while not inside an impl frame!"; |
| 898 inside_impl_frame_ = false; | 899 inside_impl_frame_ = false; |
| 899 #endif | 900 #endif |
| 900 } | 901 } |
| 901 | 902 |
| 902 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) { | 903 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) { |
| 903 layer_tree_host_->SendBeginFramesToChildren(args); | 904 layer_tree_host_->SendBeginFramesToChildren(args); |
| 904 } | 905 } |
| 905 | 906 |
| 906 } // namespace cc | 907 } // namespace cc |
| OLD | NEW |