Shun Lin wrote:
Maybe you can try to toggle the GPU accelerating.
I found the problem is caused by screen fresh rate. I changed my laptop’s fresh rate to 40Hz by accident, after I change it back to 60Hz then the FPS is also back to 60Hz.
Then below statement is wrong, because it looks like the Webkit’s webkitRequestAnimationFrame will try to sync with the screen fresh rate.
Currently, both mozRequestAnimationFrame as well as webkitRequestAnimationFrame do not truly sync with the screen refresh rates, but simply help in limiting drawing operations to a sane amount, but real sync will be implemented eventually.
One question: is it possible that cocos2d-html5 library can hide this platform difference? Thanks~