Display list instructions are stored as sequences of "nodes". Nodes are allocated in blocks. Each block has BLOCK_SIZE nodes. Blocks are linked together with a pointer.
Each instruction in the display list is stored as a sequence of contiguous nodes in memory. Each node is the union of a variety of data types.
Data Fields | |
| OpCode | opcode |
| GLboolean | b |
| GLbitfield | bf |
| GLubyte | ub |
| GLshort | s |
| GLushort | us |
| GLint | i |
| GLuint | ui |
| GLenum | e |
| GLfloat | f |
| GLvoid * | data |
| void * | next |
| GLboolean gl_dlist_node::b |
| GLbitfield gl_dlist_node::bf |
| GLubyte gl_dlist_node::ub |
| GLshort gl_dlist_node::s |
| GLushort gl_dlist_node::us |
| GLint gl_dlist_node::i |
| GLuint gl_dlist_node::ui |
| GLenum gl_dlist_node::e |
| GLfloat gl_dlist_node::f |
| GLvoid* gl_dlist_node::data |
| void* gl_dlist_node::next |
1.5.4