[csswg-drafts] [css-animations] Hardware acceleration explicit support proposal (#4146)

rolivo has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-animations] Hardware acceleration explicit support proposal  ==
I work a lot with css animation, wonderful experience thank you.  
Mozilla has an option to force the use of the gpu on a page which gives better performance (much better) to the animations.
I am not an expert but I understand that the use or not of the gpu in the animations is based on heuristics, but in practice I have noticed that the animations work better with the forced use of the gpu, so my proposal is the following:

Add the property:
animation-gpu with two auto and accelerated values

something like that:
animation-gpu: auto | accelerated.

they could also be added to the shorthand "animation"

I understand that there are other ways to force hardware acceleration but in practice they are complex and could be further simplified with the above proposal.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4146 using your GitHub account

Received on Tuesday, 23 July 2019 15:36:51 UTC