Jump to content
  • Advertisement
Sign in to follow this  
schragnasher

OpenGL VBO memory question

This topic is 3617 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

Iv been reading OPENGL distilled and trying the basics of a 2d OPENGL engine that i want to build. Iv been able to do it in the past with immediate mode, but that slow and eventually going away so im working with VA's and VBO's. I understand the concept of being put into either system/vram but how do i handle the memory management aspect? If i setup a system to create VBO's for all the 2d images i want to load, eventually i run out of vram right? How does one handle this situation. Or does OPENGL swap VBO's from vram to system ram on its own? Thanks for any guidance. I have very little knowledge of memory issues in game programming, just looking to learn how its handled.

Share this post


Link to post
Share on other sites
Advertisement
If you read the opengl spec, there is no mention of RAM, VRAM and anything else. These are hardware specific details.
If you have a PC with some video card like a nvidia geforce, then the driver provided by nvidia does the memory management and swapping.

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!