Jump to content
  • Advertisement
Sign in to follow this  
neonoblivion

How to calculate the ram used by a displist

This topic is 4898 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!