News for hackers. Stuff that matters.
Re:60 FPS Animations with CSS3 by c-smile on Monday July 10, 2017 @11:55PM (#14741468)
Ideally so called rendering tree should reside completely on GPU. Or at least all heavy rendering components that it represents shall be there.

In this case each animation frame will be just a set of commands sent by CPU to GPU: render thing A at coordinate Ax,Ay, render thing B at ...

So animations that do not involve relayout will cost almost nothing for CPU. And even with relayout ( transition: width 2s; ) it will not be that bad as relayout is partial as a rule.

At least this is how it works in Sciter: https://sciter.com/sciter-and-directx/ (demo of Sciter HTML/CSS rendering integrated into DirectX scene)

There are no comments on this comment yet.