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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2527283003: cc: Introduce BeginFrame sequence numbers and acknowledgements.
Patch Set: Hook up MusBrowserCompositorOutputSurface's BeginFrameSource. Created 4 years 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/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index 63e0968bf989d42c404b6170f1d1be3642b5839d..b33f081e506b80184034dd48e128d876a74c4af7 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -581,6 +581,10 @@ DrawResult ProxyImpl::DrawInternal(bool forced_draw) {
// CanDraw() as well.
LayerTreeHostImpl::FrameData frame;
+ frame.begin_frame_source_id = scheduler_->CurrentBeginFrameSourceId();
+ frame.begin_frame_number = scheduler_->CurrentBeginFrameNumber();
+ frame.latest_confirmed_frame =
+ scheduler_->LatestConfirmedFrameForActiveTree();
bool draw_frame = false;
DrawResult result;

Powered by Google App Engine
This is Rietveld 408576698