viz: Update needs-begin-frame after presentation feedback.
It is possible for the presentation-feedback for a frame to arrive in the display compositor after the client has stopped requesting begin-frames. In such cases, the CompositorFrameSinkSupport turns on the needs-begin-frames flag, so that it can send a begin-frame to the client carrying the presentation-feedback for the last frame. After this begin-frame is sent, the needs-begin-frame flag needs to be reset in the client's CompositorFrameSinkSupport. BUG=916572 Change-Id: Ic935521c364c98dad6d4f9523de71647ed72a71f Reviewed-on: https://chromium-review.googlesource.com/c/1433554Reviewed-by:Antoine Labour <piman@chromium.org> Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#626141}
Showing
Please register or sign in to comment