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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 } | 147 } |
148 | 148 |
149 void SetNeedsDisplayOnAllLayers(); | 149 void SetNeedsDisplayOnAllLayers(); |
150 | 150 |
151 void CollectRenderingStats(RenderingStats* stats) const; | 151 void CollectRenderingStats(RenderingStats* stats) const; |
152 | 152 |
153 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { | 153 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { |
154 return rendering_stats_instrumentation_.get(); | 154 return rendering_stats_instrumentation_.get(); |
155 } | 155 } |
156 | 156 |
157 const RendererCapabilities& GetRendererCapabilities() const; | 157 virtual const RendererCapabilities& GetRendererCapabilities() const; |
158 | 158 |
159 void SetNeedsAnimate(); | 159 void SetNeedsAnimate(); |
160 virtual void SetNeedsUpdateLayers(); | 160 virtual void SetNeedsUpdateLayers(); |
161 virtual void SetNeedsCommit(); | 161 virtual void SetNeedsCommit(); |
162 virtual void SetNeedsFullTreeSync(); | 162 virtual void SetNeedsFullTreeSync(); |
163 virtual void SetNeedsMetaInfoRecomputation( | 163 virtual void SetNeedsMetaInfoRecomputation( |
164 bool needs_meta_info_recomputation); | 164 bool needs_meta_info_recomputation); |
165 void SetNeedsRedraw(); | 165 void SetNeedsRedraw(); |
166 void SetNeedsRedrawRect(const gfx::Rect& damage_rect); | 166 void SetNeedsRedrawRect(const gfx::Rect& damage_rect); |
167 bool CommitRequested() const; | 167 bool CommitRequested() const; |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 | 500 |
501 uint32_t surface_id_namespace_; | 501 uint32_t surface_id_namespace_; |
502 uint32_t next_surface_sequence_; | 502 uint32_t next_surface_sequence_; |
503 | 503 |
504 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 504 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
505 }; | 505 }; |
506 | 506 |
507 } // namespace cc | 507 } // namespace cc |
508 | 508 |
509 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 509 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |