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

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

Issue 1178963003: Trace main thread commit in flow events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments tweak. Created 5 years, 6 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_host.h ('k') | cc/trees/thread_proxy.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/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <stack> 8 #include <stack>
9 #include <string> 9 #include <string>
10 10
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 proxy_->SetAuthoritativeVSyncInterval(interval); 1293 proxy_->SetAuthoritativeVSyncInterval(interval);
1294 } 1294 }
1295 1295
1296 void LayerTreeHost::RecordFrameTimingEvents( 1296 void LayerTreeHost::RecordFrameTimingEvents(
1297 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 1297 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
1298 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) { 1298 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) {
1299 client_->RecordFrameTimingEvents(composite_events.Pass(), 1299 client_->RecordFrameTimingEvents(composite_events.Pass(),
1300 main_frame_events.Pass()); 1300 main_frame_events.Pass());
1301 } 1301 }
1302 1302
1303 void LayerTreeHost::OnCommitForSwapPromises() {
brianderson 2015/06/17 18:18:04 Can you group this with the other swap promise log
1304 for (auto* swap_promise : swap_promise_list_)
1305 swap_promise->OnCommit();
1306 }
1307
1303 } // namespace cc 1308 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698