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/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 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1350 } | 1350 } |
1351 | 1351 |
1352 void LayerTreeHost::set_surface_id_namespace(uint32_t id_namespace) { | 1352 void LayerTreeHost::set_surface_id_namespace(uint32_t id_namespace) { |
1353 surface_id_namespace_ = id_namespace; | 1353 surface_id_namespace_ = id_namespace; |
1354 } | 1354 } |
1355 | 1355 |
1356 SurfaceSequence LayerTreeHost::CreateSurfaceSequence() { | 1356 SurfaceSequence LayerTreeHost::CreateSurfaceSequence() { |
1357 return SurfaceSequence(surface_id_namespace_, next_surface_sequence_++); | 1357 return SurfaceSequence(surface_id_namespace_, next_surface_sequence_++); |
1358 } | 1358 } |
1359 | 1359 |
| 1360 void LayerTreeHost::SetChildrenNeedBeginFrames( |
| 1361 bool children_need_begin_frames) const { |
| 1362 proxy_->SetChildrenNeedBeginFrames(children_need_begin_frames); |
| 1363 } |
| 1364 |
| 1365 void LayerTreeHost::SendBeginFramesToChildren( |
| 1366 const BeginFrameArgs& args) const { |
| 1367 client_->SendBeginFramesToChildren(args); |
| 1368 } |
| 1369 |
1360 } // namespace cc | 1370 } // namespace cc |
OLD | NEW |