Using Chrome 12 my game is drawing smoothly. But Chrome 14, which appears to use the GPU for drawing, has an enormous negative impact on the performance of my game.
I made a jsFiddle to see when exactly it happens and this simple code is already running into problems: http://jsfiddle.net/eGjak/48/.
- On Chrome 12, the FPS is 62, which is even more than my screen frequency.
- On Chrome 14, the FPS is ~25.
25 FPS is quite acceptable, but in my game I'm drawing even more and it is running down to ~8 FPS there, which definitely is not acceptable. I've never had any performance problems but the GPU update for canvas is a bottleneck for me.
- Why is some simple drawing on canvas so much slower using the GPU?
- Can I disable Chrome from using the GPU through JavaScript? (Or is there another solution for this?)
Edit: Filed a bug at http://code.google.com/p/chromium/issues/detail?id=89540
canvas_particles_sprites.htmland only 8 on Chrome 14.