Login  Register

Re: Poor Performance with glVertexAttribPointer

Posted by gouessej on Jan 14, 2014; 2:43pm
URL: https://forum.jogamp.org/Poor-Performance-with-glVertexAttribPointer-tp4031170p4031211.html

I'm not completely surprised, maybe there is a leak in your driver that affects glMapBuffer & glUnmapBuffer, glBufferSubData doesn't do any memory allocation. In my humble opinion, you shouldn't rely on inconsistent speedups obtained by using glBufferData to invalidate the data store and resend the data, rather use glBufferSubData even to update the content of the whole buffer.
Julien Gouesse | Personal blog | Website