Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1598)

Side by Side Diff: cc/trees/single_thread_proxy.cc

Issue 1846043002: cc : Make CallFunctionForSubtree on impl use layer iterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/tree_synchronizer_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/tree_synchronizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698