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

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

Issue 775143003: cc: Implement unified BeginFrame on aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 } 1375 }
1376 1376
1377 void LayerTreeHost::set_surface_id_namespace(uint32_t id_namespace) { 1377 void LayerTreeHost::set_surface_id_namespace(uint32_t id_namespace) {
1378 surface_id_namespace_ = id_namespace; 1378 surface_id_namespace_ = id_namespace;
1379 } 1379 }
1380 1380
1381 SurfaceSequence LayerTreeHost::CreateSurfaceSequence() { 1381 SurfaceSequence LayerTreeHost::CreateSurfaceSequence() {
1382 return SurfaceSequence(surface_id_namespace_, next_surface_sequence_++); 1382 return SurfaceSequence(surface_id_namespace_, next_surface_sequence_++);
1383 } 1383 }
1384 1384
1385 void LayerTreeHost::SetAuthoritativeVSyncInterval(
1386 base::TimeDelta interval) const {
1387 proxy_->SetAuthoritativeVSyncInterval(interval);
1388 }
1389
1385 void LayerTreeHost::SetChildrenNeedBeginFrames( 1390 void LayerTreeHost::SetChildrenNeedBeginFrames(
1386 bool children_need_begin_frames) const { 1391 bool children_need_begin_frames) const {
1387 proxy_->SetChildrenNeedBeginFrames(children_need_begin_frames); 1392 proxy_->SetChildrenNeedBeginFrames(children_need_begin_frames);
1388 } 1393 }
1389 1394
1390 void LayerTreeHost::SendBeginFramesToChildren( 1395 void LayerTreeHost::SendBeginFramesToChildren(
1391 const BeginFrameArgs& args) const { 1396 const BeginFrameArgs& args) const {
1392 client_->SendBeginFramesToChildren(args); 1397 client_->SendBeginFramesToChildren(args);
1393 } 1398 }
1394 1399
1395 } // namespace cc 1400 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698