My understanding is that I don't need to do anything at the application level to enable hardware buffer (VBO). If I use the geometry creator to create a mesh the mapping hint will be set to static and the hardware buffer will be used automatically.
However, I set a breakpoint at function createHardwareBuffer() and it is never been hit. Looks like it is not using VBO at all.
I am using the prerelease COGLES2 driver.
how to enable hardware buffer
Re: how to enable hardware buffer
There is a minimum threshold, 500 verts by default. You can change that with the setMinHardwareBufferVertexCount call.
That limit is due to VBO switching overhead, for really small meshes it's faster not to use VBO.
That limit is due to VBO switching overhead, for really small meshes it's faster not to use VBO.