[ros-kernel] TEB offsets wrong - suggested fix - feedback pls
Filip Navara
xnavara at volny.cz
Thu Feb 5 21:34:32 CET 2004
David Welch wrote:
>Do bear in mind that OpenGL uses function calls to specify each element of
>a vertex to be drawn (one for the position, one for the normal, one for
>the texture coordinate, etc) and on modern hardware the effect of these calls
>is probably just to write the parameters into a circular buffer in memory; so
>the overhead could be more than you think.
>
>
You're right on this, but also any good OpenGL application is optimized
to pass whole buffers at once using glVertexPointer, glNormalPointer,
glColorPointer, glIndexPointer, glTexCoordPointer and/or
glEdgeFlagPointer, so the overhead for optimized programs will not raise
that much.
- Filip
More information about the Ros-kernel
mailing list