Login  Register

Re: Performance Issues with VBOs

Posted by gouessej on Dec 31, 2013; 8:59am
URL: https://forum.jogamp.org/Performance-Issues-with-VBOs-tp4031089p4031091.html

Hi

Don't use glMapBuffer and glUnmapBuffer, rather create a direct NIO buffer and call glBufferSubData or glBufferData.

Keep in mind that retained mode (vertex arrays, VBOs, ...) is faster than immediate mode if and only if you don't have to draw a very few primitives, it depends on the hardware too.
Julien Gouesse | Personal blog | Website