I have a cc.drawNode that clears and draws approximately 450 32 pixel segments on every update tick. Now let’s not debate whether or not I should be doing this ;P. The reason I bring it up is that when I do this with WebGL the FPS drops immediately to about 10. Ok, maybe this isn’t too unexpected since I’m trying to draw so much. However, if I don’t use WebGL and instead use canvas, the FPS remains above 50.
That is unexpected to me :). Why might this be? Are there any tips? I don’t necessarily need to redraw the segments every tick but I’m having a tough time relying on the dirty bits to figure out if things moved on screen.
Tips? Tricks? Answers?