Can the display list created in OpenGl be stored as a file and read ?

is there a way to store the Displaylist compiled in a OpenGl program stored in some format in a file and read.


No, OpenGL deosn’t provide any functionality for loading/saving objects or any kind of data. Displaylists are stored in a driver specific format for maximum performance, and one displaylist may not work on another chip.