Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 2712983003: [cc] Set BeginFrame sequence numbers on CompositorFrames from Scheduler. (Closed)
Patch Set: fix comment + test. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/test/begin_frame_source_test.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 ~FrameData() override; 220 ~FrameData() override;
221 void AsValueInto(base::trace_event::TracedValue* value) const; 221 void AsValueInto(base::trace_event::TracedValue* value) const;
222 222
223 std::vector<gfx::Rect> occluding_screen_space_rects; 223 std::vector<gfx::Rect> occluding_screen_space_rects;
224 std::vector<gfx::Rect> non_occluding_screen_space_rects; 224 std::vector<gfx::Rect> non_occluding_screen_space_rects;
225 RenderPassList render_passes; 225 RenderPassList render_passes;
226 const LayerImplList* render_surface_layer_list; 226 const LayerImplList* render_surface_layer_list;
227 LayerImplList will_draw_layers; 227 LayerImplList will_draw_layers;
228 bool has_no_damage; 228 bool has_no_damage;
229 bool may_contain_video; 229 bool may_contain_video;
230 BeginFrameAck begin_frame_ack;
230 231
231 // RenderPassSink implementation. 232 // RenderPassSink implementation.
232 void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override; 233 void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override;
233 234
234 private: 235 private:
235 DISALLOW_COPY_AND_ASSIGN(FrameData); 236 DISALLOW_COPY_AND_ASSIGN(FrameData);
236 }; 237 };
237 238
238 virtual void DidSendBeginMainFrame() {} 239 virtual void DidSendBeginMainFrame() {}
239 virtual void BeginMainFrameAborted( 240 virtual void BeginMainFrameAborted(
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 843
843 std::unique_ptr<PendingTreeDurationHistogramTimer> 844 std::unique_ptr<PendingTreeDurationHistogramTimer>
844 pending_tree_duration_timer_; 845 pending_tree_duration_timer_;
845 846
846 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 847 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
847 }; 848 };
848 849
849 } // namespace cc 850 } // namespace cc
850 851
851 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 852 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/begin_frame_source_test.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698