D3D9 performance problem

Started by
2 comments, last by Evil Steve 18 years, 7 months ago
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.
i found it hard, it's hard to find, oh well whaterver nervermind.
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.
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?
i found it hard, it's hard to find, oh well whaterver nervermind.
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.

This topic is closed to new replies.

Advertisement