>you want to push the triangle data into the card in a single (or few) API calls
glBufferSubData?
>then submit as few draw calls as you can manage
glDrawElements?
Nobody used glBegin/glEnd in the past 20 years...
glBufferSubData?
>then submit as few draw calls as you can manage
glDrawElements?
Nobody used glBegin/glEnd in the past 20 years...
OpenGL 3 deprecated glBegin/glEnd, but there is still state, and a lot of it. none of the OpenGL API is re-entrant, for instance..