Advertisement Jump to content
Sign in to follow this  
lythm

D3D9 performance problem

This topic is 4874 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 am tuning our graphics engine using Intel VTune. I found a function with the name "DebugSetLevel" in D3D9.dll consumed a lot of cpu circles. What is this function doing? How can I get rid of it? BTW: I used retailed version of d3d9.

Share this post


Link to post
Share on other sites
Advertisement
DebugSetLevel controls the amount of debugging information generated by the Direct3D runtime. Go to the Windows Control Panel, open the DirectX settings, and set Debug Output Level to the lowest.

Share this post


Link to post
Share on other sites
C0D1F1ED:
Thank you for your reply.
I've turn the Debug Output Level to the lowest, but the problem still exist.I wonder why d3d call the SetDebugLevel so frequencily, will it be more reasonable to set the debug level once and save it to a variant and then check it when need? The debug level wont change when the application is running, isnt it?

Share this post


Link to post
Share on other sites
You're *sure* that you're running the release runtime, and your app is built for release mode? If so, then I don't think theres anything you can do about it, so I wouldn't worry.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!