
This CL adds two histograms to help understand the percentage of frames that can be swapped immediately and frames that need to wait. GPU.Presentation.FrameHandlesAnimationOrInteraction GPU.Presentation.NonAnimatdOrInteractiveFrameWithPendingFrame When VSyncAlignedPresent and kPresentationDelayForInteractiveFrames are enabled, frames not handling interaction and animation can be swapped immediately. However, they must wait in the queue for VSync when there is a pending frame(s). Bug: 330771325 Change-Id: I9a85b2c398c37c5e428dd8327f5e0a332f335b00 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6334447 Commit-Queue: Maggie Chen <magchen@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Reviewed-by: Jonathan Ross <jonross@chromium.org> Cr-Commit-Position: refs/heads/main@{#1430521}