Our version of requestAnimationFrame which respects window visibility and drops calling to 2 calls pers second when window is not visible and reduce to 30FPS when window is not active.
Optional
Function to be called
requestAnimationFrameMM
Our version of requestAnimationFrame which respects window visibility and drops calling to 2 calls pers second when window is not visible and reduce to 30FPS when window is not active.