http://www.omgubuntu.co.uk/2017/04/smal ... uch-faster
Firefox 57 scheduled for hardware acceleration.
Test code is already present in Firefox that can be enabled but it's glitchy and there are securty concerns with low level API , more info in the link above.