viz: Ensure surfaces activate before sending OnBeginFrame Activation of surfaces can trigger DidReceiveCompositorFrameAck. In order to be able to merge DidReceiveCompositorFrameAck into OnBeginFrame, we need to make sure the activations always happen before OnBeginFrame is sent. Therefore, instead of making SurfaceDependencyDeadline observe the BeginFrameSource directly, let it be notified by CompositorFrameSinkSupport so that the ordering can always be guaranteed. This has the added benefit that PrimaryBeginFrameSource can be removed, greatly simplifying the code. Bug: 942059,938947 Change-Id: Ia6443c9c579a653500e21619e1e92ec83c7006d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1604497 Reviewed-by: Jonathan Ross <jonross@chromium.org> Commit-Queue: Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#659163}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .