title: How can I speed up the rendering of a large list of VAOs
body: <p>I have a very large list of VBOs and VAOS stored in a static array. Each VBO is bound with the VAO at the corresponding offset in the array. Any VBO/VAO can be updated independently, so I can't convert this into one big VBO/VAO.</p>
  <p>My render loop looks something like this:</p>
  <pre><code>for(int i = 0; i &lt; VAO_COUNT; i++){
      glBindVertexArray(vao[i]);
      glDrawArrays(GL_TRIANGLES, ...);
  }
  </code></pre>
  <p>The large number of calls to glBindVertexArray is making it perform very slow relative to the number of polygons being rendered. I understand that binding a vertex array is costly, but based on the way I have things set up is there a different way to render this list that would perform better?</p>