• Advertisement
Sign in to follow this  

graphic diagnostics

This topic is 1336 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 am using windows 7 visual studio 2013 update 2 and directx 10

 

I am using g_pVsgDbg->CaptureCurrentFrame(); to debug some draws

 

the problem is that  g_pVsgDbg->CaptureCurrentFrame(); only captures the draws that are after it

 

is there a way to capture all the draws that are in the frame were g_pVsgDbg->CaptureCurrentFrame(); was called?

 

more exactly I have something like this:

 

drawA();

 

if(SOMETHING)

{

      g_pVsgDbg->CaptureCurrentFrame();

}

 

g_pSwapChain->Present(1, 0);

 

"SOMETHING" depends on "drawA();" so I can't move the condition and I want to debug drawA();

Edited by lomateron

Share this post


Link to post
Share on other sites
Advertisement
Hi. Can you use pix for windows or you need it in your own code.
Or maybe the device info interface may help you. I'm on my phone at the moment. I saw it in the sdk when looking up threading yesterday.

Share this post


Link to post
Share on other sites

ya I learn from that page how to use graphic diagnostics but I could't find there the answer to my question so I posted here 

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement