core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

The VBO builder module

6.5

This module hooks into the GL dispatch table and catches all vertex building and drawing commands, such as glVertex3f, glBegin and glDrawArrays. The module stores all incoming vertex data as arrays in GL vertex buffer objects (VBOs), and translates all drawing commands into calls to a driver supplied DrawPrimitives() callback.

The module captures both immediate mode and display list drawing, and manages the allocation, reference counting and deallocation of vertex buffer objects itself.

The DrawPrimitives() callback can be either implemented by the driver itself or hooked to the tnl module's _tnl_draw_primitives() function for hardware without tnl capablilties or during fallbacks.


Generated on Sun Sep 27 06:47:52 2009 for Mesa vbo by  doxygen 1.5.4