Jump to content
  • Advertisement


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


Where should my frame time be focussed?

This topic is 6379 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 a simple engine i''m writing does its own TnL, and then calls DrawPrim to rasterize. It seems to be going really slow, and so I profiled it and found that 90% of the time each frame was being spent in a function which simply called EndScene. Other programs i''ve written have always spent most time either with the draw prim call, or during TnL. Does anyone have any idea why this is happening. Another thing that makes me think something is wrong is that normally if i have something running at, say, 50fps, then if I profile it I get about 2 or 3 fps. With this program, though, I made changes and got the profiling fps up to 14fps, but this had no effect on the speed when not profiling - stuck at about 30fps. Please someone suggest something, cos I dont know what i''ve done differnent from usual. CHeers anyone Cameron

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!