title: Drawing lines/points in cocos2d for iPhone is very slow
body: <p>I am trying to draw coloured landscape around my game which is dynamically changing its shape and color when player moves on.</p>
  
  <p>Even simple drawing couses framerate to drop to around 10 FPS. </p>
  
  <pre><code>-(void) draw {    
      glPointSize(1);
      glColor4ub(100,100,100,255);
      for(int i=0; i&lt;100; i+=1){
          for (int j=0; j&lt;100; j++){
              ccDrawPoint(ccp(i, j));
          }
      }
  }
  </code></pre>
  
  <p>What could I do to make these operations work faster?</p>