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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 11854013: Use input events to improve vsync scheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't set last-input-for-vsync bit on pages with touch handlers. Created 7 years, 11 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/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index 6e349d92c63ffef6ac5da6cd0e21699d29369035..e4d53d60dcb0f0f1fb3f896137f4fd25de39aa50 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -781,6 +781,11 @@ void LayerTreeHostImpl::DidVSync(base::TimeTicks frameTime)
m_client->didVSync(frameTime);
}
+void LayerTreeHostImpl::didReceiveLastInputEventForVSync()
+{
+ m_client->didReceiveLastInputEventForVSync();
+}
+
void LayerTreeHostImpl::OnCanDrawStateChangedForTree(LayerTreeImpl*)
{
m_client->onCanDrawStateChanged(canDraw());

Powered by Google App Engine
This is Rietveld 408576698