| 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 <limits> | 8 #include <limits> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 } | 144 } |
| 145 | 145 |
| 146 void NotifyInputThrottledUntilCommit(); | 146 void NotifyInputThrottledUntilCommit(); |
| 147 | 147 |
| 148 void Composite(base::TimeTicks frame_begin_time); | 148 void Composite(base::TimeTicks frame_begin_time); |
| 149 | 149 |
| 150 void FinishAllRendering(); | 150 void FinishAllRendering(); |
| 151 | 151 |
| 152 void SetDeferCommits(bool defer_commits); | 152 void SetDeferCommits(bool defer_commits); |
| 153 | 153 |
| 154 // Test only hook |
| 155 virtual void DidDeferCommit(); |
| 156 |
| 154 int source_frame_number() const { return source_frame_number_; } | 157 int source_frame_number() const { return source_frame_number_; } |
| 155 | 158 |
| 156 void SetNeedsDisplayOnAllLayers(); | 159 void SetNeedsDisplayOnAllLayers(); |
| 157 | 160 |
| 158 void CollectRenderingStats(RenderingStats* stats) const; | 161 void CollectRenderingStats(RenderingStats* stats) const; |
| 159 | 162 |
| 160 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { | 163 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { |
| 161 return rendering_stats_instrumentation_.get(); | 164 return rendering_stats_instrumentation_.get(); |
| 162 } | 165 } |
| 163 | 166 |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 | 485 |
| 483 uint32_t surface_id_namespace_; | 486 uint32_t surface_id_namespace_; |
| 484 uint32_t next_surface_sequence_; | 487 uint32_t next_surface_sequence_; |
| 485 | 488 |
| 486 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 489 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 487 }; | 490 }; |
| 488 | 491 |
| 489 } // namespace cc | 492 } // namespace cc |
| 490 | 493 |
| 491 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 494 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |