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

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

Issue 1841083007: Remove SendBeginFramesToChildren plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_output_surface_client_set_beginframesource
Patch Set: Rebase Created 4 years, 8 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/test_hooks.h ('k') | cc/trees/layer_tree_host.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_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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 // See swap_promise.h for how to use SwapPromise. 341 // See swap_promise.h for how to use SwapPromise.
342 void QueueSwapPromise(std::unique_ptr<SwapPromise> swap_promise); 342 void QueueSwapPromise(std::unique_ptr<SwapPromise> swap_promise);
343 343
344 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason); 344 void BreakSwapPromises(SwapPromise::DidNotSwapReason reason);
345 345
346 size_t num_queued_swap_promises() const { return swap_promise_list_.size(); } 346 size_t num_queued_swap_promises() const { return swap_promise_list_.size(); }
347 347
348 void set_surface_id_namespace(uint32_t id_namespace); 348 void set_surface_id_namespace(uint32_t id_namespace);
349 SurfaceSequence CreateSurfaceSequence(); 349 SurfaceSequence CreateSurfaceSequence();
350 350
351 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) const;
352 void SendBeginFramesToChildren(const BeginFrameArgs& args) const;
353
354 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval); 351 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval);
355 352
356 PropertyTrees* property_trees() { return &property_trees_; } 353 PropertyTrees* property_trees() { return &property_trees_; }
357 bool needs_meta_info_recomputation() { 354 bool needs_meta_info_recomputation() {
358 return needs_meta_info_recomputation_; 355 return needs_meta_info_recomputation_;
359 } 356 }
360 357
361 void RecordFrameTimingEvents( 358 void RecordFrameTimingEvents(
362 std::unique_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 359 std::unique_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
363 std::unique_ptr<FrameTimingTracker::MainFrameTimingSet> 360 std::unique_ptr<FrameTimingTracker::MainFrameTimingSet>
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 596
600 uint32_t surface_id_namespace_; 597 uint32_t surface_id_namespace_;
601 uint32_t next_surface_sequence_; 598 uint32_t next_surface_sequence_;
602 599
603 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 600 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
604 }; 601 };
605 602
606 } // namespace cc 603 } // namespace cc
607 604
608 #endif // CC_TREES_LAYER_TREE_HOST_H_ 605 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/test_hooks.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698