title: How does Modern OpenGL 3.x and above draw primitives?
body: <p>I must draw lots of primitives with OpenGL (3.3, 4.2), I knew with glutSolidTeapot() ; I can draw a teapot primitive with glut.</p>
  
  <p>But it seems there won't be a vertex array generated from this command, and I don't know if this kind of commands are deprecated or not.</p>
  
  <p>And I noticed lots of modern OpenGL tutorials just loads their own primitives and avoided to just use glut, they even loaded simple geometry from 3d mesh format file.</p>
  
  <p>My purpose is to just draw these primitives as quick as possible.And use the new OpenGL as much as possible.</p>
  
  <p>So that how to draw primitives in modern OpenGL?</p>