Login  Register

Re: Performance Issues with VBOs

Posted by bgroenks96 on Jan 01, 2014; 12:03am
URL: https://forum.jogamp.org/Performance-Issues-with-VBOs-tp4031089p4031101.html

Thank you jmaasing!

I rewrote the abstraction and implemented the multi-object VBO with glMultiDrawArrays as you suggested, and now I'm getting about a 45% increase in FPS over immediate mode.

I'm using glMapBuffer, however.  I got it to work properly and get the best performance with GL_READ_WRITE.

I tried glBufferSubData but was having trouble getting it to handle the multiple object data correctly, and the performance wasn't nearly as good.

Does anyone know why GL_READ_WRITE is faster than GL_WRITE_ONLY?