
When main is throttled to a lower framerate than impl, it can request an "urgent" BeginMainFrame(), which is not throttled, and happens at the next Impl frame. This CL: - Adds the blink-side plumbing to use this - Uses it for inputs For inputs, this is triggered in two separate places: - Impl thread: when a rAF-aligned, non-coalesced event is received. - Main: when something in the scope of event dispatch requests a main frame. The first one will make touchMove events at the beginning of scrolls use a shorter interval. The second one handles the case where an input results in blink paint requesting something, for instance that is the case when a radio button is clicked. Together, we observe lower BeginMainFrame() delay after input, while preserving e.g. scrolling main frame updates at 60Hz. Note that this commit only adds a feature, along with tests, it is still off by default. Bug: 379678455 Change-Id: Iba77b1437ae2f2e94cf8e4647768997693b26dfe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329371 Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Benoit Lize <lizeb@chromium.org> Reviewed-by: Jonathan Ross <jonross@chromium.org> Cr-Commit-Position: refs/heads/main@{#1436753}
Chromium
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.