Welcome to WebmasterWorld Guest from 54.196.144.100

Forum Moderators: open

Message Too Old, No Replies

What are the differences between vendors' requestAnimationFrame's?

     

Skier88

1:25 am on Dec 12, 2011 (gmt 0)

5+ Year Member



I'm running XP, so I can't test msRequestAnimationFrame and I have a few questions. Is the callback passed a timestamp like mozRequestAnimationFrame? What is the second parameter ("retVal") used for? Are there other differences from the spec?

Also, I know the spec isn't finalized, but I want to test for it to be future-proof. Should I assume the callback will be passed a timestamp?

Are there any other differences between implementations I should be aware of? I'm not concerned with cancelling requested frames, but anything else could be important.