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

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

Issue 1005553004: cc: Add support for handling authoritative vsync interval (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/proxy.h » ('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 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 void LayerTreeHost::SetChildrenNeedBeginFrames( 1263 void LayerTreeHost::SetChildrenNeedBeginFrames(
1264 bool children_need_begin_frames) const { 1264 bool children_need_begin_frames) const {
1265 proxy_->SetChildrenNeedBeginFrames(children_need_begin_frames); 1265 proxy_->SetChildrenNeedBeginFrames(children_need_begin_frames);
1266 } 1266 }
1267 1267
1268 void LayerTreeHost::SendBeginFramesToChildren( 1268 void LayerTreeHost::SendBeginFramesToChildren(
1269 const BeginFrameArgs& args) const { 1269 const BeginFrameArgs& args) const {
1270 client_->SendBeginFramesToChildren(args); 1270 client_->SendBeginFramesToChildren(args);
1271 } 1271 }
1272 1272
1273 void LayerTreeHost::SetAuthoritativeVSyncInterval(
1274 const base::TimeDelta& interval) {
1275 proxy_->SetAuthoritativeVSyncInterval(interval);
1276 }
1277
1273 } // namespace cc 1278 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698