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.
requestAnimationFrameMM
Optional
Function to be called
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.
Method
requestAnimationFrameMM