Re: Possible to use vertex shader without vbo?
Posted by
Xerxes Rånby on
May 28, 2015; 8:47am
URL: https://forum.jogamp.org/Possible-to-use-vertex-shader-without-vbo-tp4034532p4034534.html
sirus20x6 wrote
I've seen use VBO and I dont think that's ideal for what I'm doing (updating the terrain geometry faster than 60fps).
VBO's are ideal because it puts you in control how the GPU should handle memory.
The deprecated way of passing a Buffer puts the burden to handle memory on the GPU driver, the driver then has to guess and will cause unpredictable performance.
The GPU driver do not know anything about your application thus it can never figure out if it can reuse parts of the buffer. When you manage memory you can choose to update a part of the VBO.