title: OpenGL - Should I store Attribute/Uniform locations?
body: <p>Are <code>glGetUniformLocation</code> and <code>glGetAttribLocation</code> time consuming?</p>
  
  <p>Which way is better?</p>
  
  <ol>
  <li>Call <code>glGetAttribLocation</code> or <code>glGetUniformLocation</code> every time I need it ?</li>
  <li>Store locations in varables and use them when needed ?</li>
  </ol>