Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

alex997

Bottleneck detection

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

I was wondering what methods there are for detecting the bottleneck in an openGL program? It''s out of personal interest for future reference, but I thought it''d make interesting reading for anyone else here if we compile a summary. The one I can think of is running the app in a window and resizing it. If decreasing the size of the window increases the framerate, the program is fill-rate limited, and is probably suffering from overdraw. AFAIK, a possible remedy is to draw the furthest objects first and let the depth-buffer do some culling. Alternatively just do anything to reduce the number of polys (space partitioning etc). I''m fairly new to this so I welcome any corrections to the above! What other tests are there that might show a bottleneck?

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by alex997
AFAIK, a possible remedy is to draw the furthest objects first and let the depth-buffer do some culling.


You''d actually want to draw the closest objects first so that objects further away fail on depth test and don''t write to the framebuffer.

Enigma

Share this post


Link to post
Share on other sites

  • 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!