The OpenGL implementation of display lists is similar to the IRIS GL implementation, with two exceptions: in OpenGL you can't edit display lists once you've created them and you can't call functions from within display lists.
Because you can't edit or call functions from within display lists, these IRIS GL functions have no equivalent in OpenGL:
In IRIS GL, you use the makeobj and closeobj functions to create display lists. In OpenGL, you use glNewList and glEndList.
The following table lists the IRIS GL display list functions with their equivalent OpenGL functions.
IRIS GL Function | OpenGL Function | Meaning |
---|---|---|
makeobj | glNewList | Create a new display list. |
closeobj | glEndList | Signal end of display list. |
callobj | glCallList, glCallLists | Execute display list or lists. |
isobj | glIsList | Test for display list existence. |
delobj | glDeleteLists | Delete contiguous group of display lists. |
genobj | glGenLists | Generate the given number of contiguous empty display lists. |