Sign in to follow this  
neonoblivion

How to calculate the ram used by a displist

Recommended Posts

neonoblivion    100
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

Share this post


Link to post
Share on other sites
vincoof    514
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this