Drawing static colored polygons

Drawing static colored polygons
0.0 0



In my level I have some colored polygons, which I want to draw in run-time rather than create textures offline.
The polygons is static and dont change during the level. My question is how I should draw these polygons to save performance.

  1. Create a rendertexture and render all the polygons on it in the beginning of the level.
  2. Create a VBO when the level loads and use it to draw the polygons.
  3. Just use ccDrawPolygon because it is already really fast.
  4. The best way I haven’t heard of yet….

I am using a lot of physics in the game, so CPU is limited.

Thanks for your answers.