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/debug/trace_event.h" | 8 #include "base/trace_event/trace_event.h" |
9 #include "cc/debug/benchmark_instrumentation.h" | 9 #include "cc/debug/benchmark_instrumentation.h" |
10 #include "cc/output/context_provider.h" | 10 #include "cc/output/context_provider.h" |
11 #include "cc/output/output_surface.h" | 11 #include "cc/output/output_surface.h" |
12 #include "cc/quads/draw_quad.h" | 12 #include "cc/quads/draw_quad.h" |
13 #include "cc/resources/prioritized_resource_manager.h" | 13 #include "cc/resources/prioritized_resource_manager.h" |
14 #include "cc/resources/resource_update_controller.h" | 14 #include "cc/resources/resource_update_controller.h" |
15 #include "cc/scheduler/commit_earlyout_reason.h" | 15 #include "cc/scheduler/commit_earlyout_reason.h" |
16 #include "cc/trees/layer_tree_host.h" | 16 #include "cc/trees/layer_tree_host.h" |
17 #include "cc/trees/layer_tree_host_single_thread_client.h" | 17 #include "cc/trees/layer_tree_host_single_thread_client.h" |
18 #include "cc/trees/layer_tree_impl.h" | 18 #include "cc/trees/layer_tree_impl.h" |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 | 814 |
815 void SingleThreadProxy::DidBeginImplFrameDeadline() { | 815 void SingleThreadProxy::DidBeginImplFrameDeadline() { |
816 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame(); | 816 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame(); |
817 } | 817 } |
818 | 818 |
819 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) { | 819 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) { |
820 layer_tree_host_->SendBeginFramesToChildren(args); | 820 layer_tree_host_->SendBeginFramesToChildren(args); |
821 } | 821 } |
822 | 822 |
823 } // namespace cc | 823 } // namespace cc |
OLD | NEW |