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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 423773002: Unified BeginFrame scheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 0e8c81c83d4e86c0ea2764ca1b535f77ae49f175..26fd6d6464bccdaeb5016c325613441230262e27 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -557,6 +557,15 @@ bool SingleThreadProxy::MainFrameWillHappenForTesting() {
return false;
}
+void SingleThreadProxy::SetAuthoritativeVSyncInterval(
+ base::TimeDelta interval) {
+ scheduler_on_impl_thread_->SetAuthoritativeVSyncInterval(interval);
+}
+
+void SingleThreadProxy::SetChildrenNeedBeginFrames(bool need_begin_frame) {
+ scheduler_on_impl_thread_->SetChildrenNeedBeginFrames(need_begin_frame);
+}
+
void SingleThreadProxy::SetNeedsBeginFrame(bool enable) {
layer_tree_host_impl_->SetNeedsBeginFrame(enable);
}
@@ -695,4 +704,8 @@ void SingleThreadProxy::DidBeginImplFrameDeadline() {
layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame();
}
+void SingleThreadProxy::SendBeginFrameToChildren(const BeginFrameArgs& args) {
+ layer_tree_host_->SendBeginFrameToChildren(args);
+}
+
} // namespace cc
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698