Jump to content
  • Advertisement
Sign in to follow this  
littlekid

OpenGL Yann'S Vertex Slot Manager With Static/Dynamic Buffers?

This topic is 2813 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 have read up on topics related to the Yann's fixed slot allocator for smaller blocks and pool allocator for the larger size. I understand that this method requires creating a large VBO beforehand which we then break them up into smaller slots for usage.

http://www.gamedev.n..._1#entry3070551
http://www.gamedev.n...--sliding-slot/


However my problem, is what about the different buffer usage type. For example, STATIC vs DYNAMIC vs STREAM (opengl) does that means each type of usage would require a cache allocator??

for e.g 1x STATIC fixed slot allocator, 1x STATIC pool allocator, 1x DYNAMIC fixed slot allocator.... etc

which totals to 6 allocators? and if each allocator occupies 8mb that would be... 48mb?

regards

P.S I can't seems to edit the caps in the title, it seems to auto caps after the apostrophe

Share this post


Link to post
Share on other sites
Advertisement
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!