Re: Poor Performance with glVertexAttribPointer
Posted by
bgroenks96 on
Jan 14, 2014; 9:50pm
URL: https://forum.jogamp.org/Poor-Performance-with-glVertexAttribPointer-tp4031170p4031223.html
Sven Gothel wrote
Reason is, glBufferData recreates the GPU memory 'slot' !
So that's what causes the memory leak?
When is it appropriate then to make the glBufferData(..., ..., null, ...) call? Isn't it supposed to tell the driver to discard the previously held buffer data?