Re: Poor Performance with glVertexAttribPointer
Posted by
jmaasing on
Jan 13, 2014; 10:13am
URL: https://forum.jogamp.org/Poor-Performance-with-glVertexAttribPointer-tp4031170p4031188.html
bgroenks96 wrote
The odd thing still, however, is that the FPS start dropping each second while it's rendering. That seems to me like an indication of some kind of memory leak or misused pointer. Do you have any idea why that might happen?
By concidence I am hunting a similar problem in my game-project. I had FPS degradation, over a few minutes it dropped very much. Turned out that I forgot to delete the vertex attribute buffers, eating GPU memory. Make sure every genBuffer you call is matched by a deleteBuffer. So yes, leaks somewhere can cause that type of FPS degradation.