Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "Skip static animations on compositor and main"
This is a reland of commit 3690cd7872423e81e74dc66f9886e355a7c1b659 The two tests that regressed have been dealt with. One already had equivalent test functionality in WPT and could simply be deleted with no loss of test coverage. The other was ported from a non-WPT testRunner based pixel test to a WPT ref-test. Original change's description: > Skip static animations on compositor and main > > An animation with empty keyframes or with keyframes whose property > values are identical between frames previously ran as a normal > animation. As there is no visual change other than at a phase boundary, > these animations do not need to run on the compositor, and only need > to be scheduled on the main thread at phase boundaries. > > This is the first step in optimizing no-op animations. A follow up > patch will short-circuit sampling when the property value is constant. > Another patch will refine the rules for background color compositing > to only consider dynamic properties. Finally, metrics will be added > to track shorthand expansion of CSS properties, which is likely the > most common source of static properties in CSS animations. > > Bug: 40728212 > Change-Id: I1baff2d0d26400f91f12d4cac2141e9bb101b3d0 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5328026 > Reviewed-by: Ian Clelland <[email protected]> > Reviewed-by: Robert Flack <[email protected]> > Commit-Queue: Kevin Ellis <[email protected]> > Cr-Commit-Position: refs/heads/main@{#1268998} Bug: 40728212 Change-Id: Ibc3ab166567b93175c7a2d1da21092e87e9d30ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5359414 Commit-Queue: Kevin Ellis <[email protected]> Reviewed-by: Robert Flack <[email protected]> Reviewed-by: Ian Clelland <[email protected]> Cr-Commit-Position: refs/heads/main@{#1272150}
- Loading branch information