Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Firefox equivalent to Chrome's "translateZ(0);" to force GPU accelerated CSS animation?

I have a CSS3 transition which is smooth as silk in Chrome, but choppy in (the latest version of) Firefox

I know that I can force GPU acceleration on a DOM object in Chrome by setting -webkit-transform: translateZ(0); on it

Is there an equivalent style I can add to force GPU acceleration in Firefox?

like image 958
Steve Avatar asked Jan 26 '12 01:01

Steve


1 Answers

Firefox GPU-accelerates by default when it can. So there's nothing to "force" GPU acceleration: if it's possible, it's already done.

like image 124
Boris Zbarsky Avatar answered Nov 15 '22 07:11

Boris Zbarsky