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_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <bitset> | 10 #include <bitset> |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 ~FrameData() override; | 216 ~FrameData() override; |
217 void AsValueInto(base::trace_event::TracedValue* value) const; | 217 void AsValueInto(base::trace_event::TracedValue* value) const; |
218 | 218 |
219 std::vector<gfx::Rect> occluding_screen_space_rects; | 219 std::vector<gfx::Rect> occluding_screen_space_rects; |
220 std::vector<gfx::Rect> non_occluding_screen_space_rects; | 220 std::vector<gfx::Rect> non_occluding_screen_space_rects; |
221 RenderPassList render_passes; | 221 RenderPassList render_passes; |
222 const LayerImplList* render_surface_layer_list; | 222 const LayerImplList* render_surface_layer_list; |
223 LayerImplList will_draw_layers; | 223 LayerImplList will_draw_layers; |
224 bool has_no_damage; | 224 bool has_no_damage; |
225 bool may_contain_video; | 225 bool may_contain_video; |
| 226 uint64_t begin_frame_source_id; |
| 227 uint64_t begin_frame_number; |
| 228 uint64_t oldest_incorporated_frame; |
226 | 229 |
227 // RenderPassSink implementation. | 230 // RenderPassSink implementation. |
228 void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override; | 231 void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override; |
229 | 232 |
230 private: | 233 private: |
231 DISALLOW_COPY_AND_ASSIGN(FrameData); | 234 DISALLOW_COPY_AND_ASSIGN(FrameData); |
232 }; | 235 }; |
233 | 236 |
234 virtual void BeginMainFrameAborted( | 237 virtual void BeginMainFrameAborted( |
235 CommitEarlyOutReason reason, | 238 CommitEarlyOutReason reason, |
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
818 | 821 |
819 std::unique_ptr<PendingTreeDurationHistogramTimer> | 822 std::unique_ptr<PendingTreeDurationHistogramTimer> |
820 pending_tree_duration_timer_; | 823 pending_tree_duration_timer_; |
821 | 824 |
822 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 825 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
823 }; | 826 }; |
824 | 827 |
825 } // namespace cc | 828 } // namespace cc |
826 | 829 |
827 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 830 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |