viz: Immediately ack clients that submit later than display deadline
When a client misses the display deadline, it should not be blocked until the next DrawAndSwap because it will forever lag behind the display by one frame: - Renderer submits CompositorFrame after display deadline. - On next BeginFrame, display schedules an immediate deadline because the renderer has an undrawn frame. - Since the renderer can't beat display's immediate deadline, its CompositorFrame comes after display's deadline again. Repeat. Instead, we should immediately ack the client when it misses the display deadline. Bug: 951992 Change-Id: I672912c0cef346dd29aa9d6b2e9deb8eb04a4c7a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1588436 Auto-Submit: Saman Sami <samans@chromium.org> Commit-Queue: Jonathan Ross <jonross@chromium.org> Reviewed-by:Jonathan Ross <jonross@chromium.org> Cr-Commit-Position: refs/heads/master@{#655983}
Showing
Please register or sign in to comment