Jump to content
  • Advertisement
Sign in to follow this  
invicticide

[FIXED] [Allegro] Performance tank in 16bpp/32bpp modes

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

EDIT: Found the problem, and OMG I'm an idiot. Move along, nothing to see here... (For the record, I was calling set_color_depth *after* set_gfx_mode, when it should be called *before*.) I'm using Allegro 4.2 with MSVC++ 8. I'm running on a P4 2.6GHz, 1024 MB RAM, and a GeForce 6800 GT. If I run my Allegro app in 8bpp color depth, I get all the frames/second I could ever wish for. If I turn it up to 16bpp or 32bpp, I get about 10 frames/second. All I'm rendering is: - Clear video buffer (NOT screen) to black - stretch_blit to buffer one 32x32 bitmap - Blit buffer to screen Is there additional setup necessary to run higher color depths effectively, or is it just a characteristic of the library? I'm sure I'm not taxing my 6800 GT. ;) -Josh [Edited by - invicticide on June 25, 2006 3:22:01 PM]

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!