Re: A background disproportionately consumes CPU
Posted: Sat Apr 16, 2011 8:06 pm
When I take out the 3 image calls you have. I get 155FPS. Cool landscape generation.
Are you sure? I think the problem is that you draw 1000 polygons every frame (and recompute their coordinates).Batrachus wrote:Without background image the FPS stabilized on 61. With background image it was less than 1.