| 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 #ifndef CC_TREES_LAYER_TREE_HOST_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 | 467 |
| 468 MicroBenchmarkController micro_benchmark_controller_; | 468 MicroBenchmarkController micro_benchmark_controller_; |
| 469 | 469 |
| 470 void OnCommitForSwapPromises(); | 470 void OnCommitForSwapPromises(); |
| 471 | 471 |
| 472 void RecordGpuRasterizationHistogram(); | 472 void RecordGpuRasterizationHistogram(); |
| 473 | 473 |
| 474 private: | 474 private: |
| 475 friend class LayerTreeHostSerializationTest; | 475 friend class LayerTreeHostSerializationTest; |
| 476 | 476 |
| 477 void ApplyViewportDeltas(ScrollAndScaleSet* info); |
| 477 void InitializeProxy( | 478 void InitializeProxy( |
| 478 std::unique_ptr<Proxy> proxy, | 479 std::unique_ptr<Proxy> proxy, |
| 479 std::unique_ptr<BeginFrameSource> external_begin_frame_source); | 480 std::unique_ptr<BeginFrameSource> external_begin_frame_source); |
| 480 | 481 |
| 481 bool DoUpdateLayers(Layer* root_layer); | 482 bool DoUpdateLayers(Layer* root_layer); |
| 482 void UpdateHudLayer(); | 483 void UpdateHudLayer(); |
| 483 | 484 |
| 484 bool AnimateLayersRecursive(Layer* current, base::TimeTicks time); | 485 bool AnimateLayersRecursive(Layer* current, base::TimeTicks time); |
| 485 | 486 |
| 486 struct UIResourceClientData { | 487 struct UIResourceClientData { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 | 601 |
| 601 uint32_t surface_id_namespace_; | 602 uint32_t surface_id_namespace_; |
| 602 uint32_t next_surface_sequence_; | 603 uint32_t next_surface_sequence_; |
| 603 | 604 |
| 604 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 605 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 605 }; | 606 }; |
| 606 | 607 |
| 607 } // namespace cc | 608 } // namespace cc |
| 608 | 609 |
| 609 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 610 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |