hi
Has anyone done performance tests for DirectFloatBuffers vs. FloatBuffers wrapping a float array? I would not expect a significant difference, since the gl-commands taking buffers are rare compared to the ones taking primitive values. But I want to make it sure. Is this a difference for the GL-nio calls?
Marvin
LWJGL supports wrapped buffers by copying them to a cached direct buffer, so direct buffers are always faster when making lwjgl calls. I don't know how significant the performance difference is, though.
- elias
Quote from: elias on February 03, 2008, 13:26:03
LWJGL supports wrapped buffers by copying them to a cached direct buffer, so direct buffers are always faster when making lwjgl calls. I don't know how significant the performance difference is, though.
ok, thanks.
Marvin