Index: cc/trees/thread_proxy.h |
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h |
index ace01988af772835c183a6fa805fa5de394d9c09..71ac660366bdbc2c6346ffa1b5adb632eff6c72f 100644 |
--- a/cc/trees/thread_proxy.h |
+++ b/cc/trees/thread_proxy.h |
@@ -68,6 +68,8 @@ class CC_EXPORT ThreadProxy : public Proxy, |
bool commit_requested; |
// Set by SetNeedsAnimate, SetNeedsUpdateLayers, and SetNeedsCommit. |
bool commit_request_sent_to_impl_thread; |
+ // Set by BeginFrameRequested, SendBeginFrameOnMainThread. |
+ bool begin_frame_requested; |
brianderson
2014/08/21 00:14:00
ThreadProxy shouldn't have to cache this.
simonhong
2014/08/26 08:24:48
Removed.
|
bool started; |
bool manage_tiles_pending; |
@@ -173,6 +175,7 @@ class CC_EXPORT ThreadProxy : public Proxy, |
virtual void SetDebugState(const LayerTreeDebugState& debug_state) OVERRIDE; |
virtual void AsValueInto(base::debug::TracedValue* value) const OVERRIDE; |
virtual bool CommitPendingForTesting() OVERRIDE; |
+ virtual void BeginFrameRequested() OVERRIDE; |
// LayerTreeHostImplClient implementation |
virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; |
@@ -226,6 +229,7 @@ class CC_EXPORT ThreadProxy : public Proxy, |
virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() OVERRIDE; |
virtual base::TimeDelta CommitToActivateDurationEstimate() OVERRIDE; |
virtual void DidBeginImplFrameDeadline() OVERRIDE; |
+ virtual void SendBeginFrame(const BeginFrameArgs& args) OVERRIDE; |
// ResourceUpdateControllerClient implementation |
virtual void ReadyToFinalizeTextureUpdates() OVERRIDE; |
@@ -280,6 +284,8 @@ class CC_EXPORT ThreadProxy : public Proxy, |
void MainThreadHasStoppedFlingingOnImplThread(); |
void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); |
void SetDebugStateOnImplThread(const LayerTreeDebugState& debug_state); |
+ void SendBeginFrameOnMainThread(const BeginFrameArgs& args); |
+ void BeginFrameRequestedOnImplThread() const; |
LayerTreeHost* layer_tree_host(); |
const LayerTreeHost* layer_tree_host() const; |