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

Unified Diff: cc/trees/layer_tree_host.h

Issue 423773002: Unified BeginFrame scheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working on aura with --enable-begin-frame-scheduling Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 2fa5b5880831ba9610aa7f35af5019d232ec4a0b..adc1625e902af1976787ce1d3881561a5b2952c4 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -299,6 +299,10 @@ class CC_EXPORT LayerTreeHost {
void BreakSwapPromises(SwapPromise::DidNotSwapReason reason);
+ void SendBeginFrame(const BeginFrameArgs& args);
brianderson 2014/08/21 00:13:59 SendBeginFrameToChildren?
simonhong 2014/08/26 08:24:47 Removed this and RequestBeginFrame(). Changed Sche
+
+ void RequestBeginFrame();
+
protected:
LayerTreeHost(LayerTreeHostClient* client,
SharedBitmapManager* manager,
@@ -455,6 +459,9 @@ class CC_EXPORT LayerTreeHost {
ScopedPtrVector<SwapPromise> swap_promise_list_;
std::set<SwapPromiseMonitor*> swap_promise_monitor_;
+ // true if new BeginFrame is requested from compositor.
+ bool begin_frame_requested_;
brianderson 2014/08/21 00:13:59 I don't think LTH needs to store this. If early ou
simonhong 2014/08/26 08:24:48 Removed.
+
DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
};

Powered by Google App Engine
This is Rietveld 408576698