commit | 5b75b4a495da5af11b4f5d1ed447acf08b7c8e05 | [log] [tgz] |
---|---|---|
author | Mohsen Izadi <mohsen@chromium.org> | Wed Nov 23 20:38:26 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 23 20:38:26 2022 |
tree | 6bea758a9cb0e9257feb370cbdacb187c7e6cc4e | |
parent | 27d0a4760339fddd5eaf37da4cdc5f0bd2dc89fb [diff] |
Fix presentation callbacks in PresentationTimeRecorder `PresentationTimeRecorder` uses presentation callbacks to determine when a frame is presented on the screen. This class is mainly used to measure latency of different UI interactions in ChromeOS and report them as UMA histograms. Currently, the callbacks used in this class will be called even if the next submitted frame fails to successfully present on the screen. This CL fixes this by using callbacks that would be called when a subsequent frame successfully gets on the screen. Bug: 1378612 Change-Id: Ib76134905cbefa7d4ebf52d4a98c28bab25598f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4037545 Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1075305}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.