How to calculate the ram used by a displist

Started by
1 comment, last by _the_phantom_ 19 years, 2 months ago
Hi I was wondering, due to some people voicing concerns over the mem usage of displists, if there might be an easy aproximation to figure how much ram one might use, depending on the number of tri's, etc. -Klaus
Advertisement
Display lists are in a black box. OpenGL does not expose very much queries about them.
At best you can query the system's memory (typically OS-dependant functions) before and after the display list compilation, but you're not even sure that when you call glEndList the list is compiled now : OpenGL leaves implementations free to deferr computations whenever needed.
they also might not end up in system ram, the driver is free to compile and move the DL into VRAM if it wants and then free up the space again

This topic is closed to new replies.

Advertisement