Open Bug 1786448 Opened 3 years ago Updated 3 years ago

scroll linked animations on the compositor keeps requiring vsync tick

Categories

(Core :: CSS Transitions and Animations, defect, P3)

defect

Tracking

()

People

(Reporter: hiro, Unassigned)

References

(Blocks 2 open bugs)

Details

There's no right component about this kind of issues so I am filing this under CSS Transitions and Animations since our scroll linked animations' implementation is limited to the CSS one.

Anyway, we implemented scroll linked animations on the compositor based on the existing machinery. Note that we implemented scroll linked animations on the main-thread in a slightly different way so that the animations don't observe the refresh driver at all. But on the compositor, we sample scroll linked animations in response to every Vsync tick, which means even if the corresponding scroll position isn't changed at all, we keep sampling scroll linked animations and it means we request vsync ticks.

We haven't shipped scroll linked animations yet, and it's not yet widely used as far as I can tell so that this bug isn't a big problem right now, but in future we will have to consider fixing this.

I am filing this as per Boris' request

CCing Florian.

Thanks for filing this bug. :)

You need to log in before you can comment on or make changes to this bug.