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

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: sync Created 3 years, 10 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
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 uint32_t begin_frame_source_id;
231 uint64_t begin_frame_sequence_number;
232 uint64_t latest_confirmed_begin_frame_sequence_number;
brianderson 2017/02/24 01:08:36 Can this be an instance of the BeginFrameAck struc
Eric Seckler 2017/02/27 11:50:32 Done.
230 233
231 // RenderPassSink implementation. 234 // RenderPassSink implementation.
232 void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override; 235 void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override;
233 236
234 private: 237 private:
235 DISALLOW_COPY_AND_ASSIGN(FrameData); 238 DISALLOW_COPY_AND_ASSIGN(FrameData);
236 }; 239 };
237 240
238 virtual void BeginMainFrameAborted( 241 virtual void BeginMainFrameAborted(
239 CommitEarlyOutReason reason, 242 CommitEarlyOutReason reason,
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 836
834 std::unique_ptr<PendingTreeDurationHistogramTimer> 837 std::unique_ptr<PendingTreeDurationHistogramTimer>
835 pending_tree_duration_timer_; 838 pending_tree_duration_timer_;
836 839
837 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 840 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
838 }; 841 };
839 842
840 } // namespace cc 843 } // namespace cc
841 844
842 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 845 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698