Jump to content

  • Log In with Google      Sign In   
  • Create Account

graphic diagnostics


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 lomateron   Members   -  Reputation: 350

Like
0Likes
Like

Posted 26 May 2014 - 04:36 PM

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, 26 May 2014 - 04:53 PM.


Sponsor:

#2 ankhd   Members   -  Reputation: 1297

Like
0Likes
Like

Posted 26 May 2014 - 05:42 PM

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.

#3 ankhd   Members   -  Reputation: 1297

Like
0Likes
Like

Posted 26 May 2014 - 08:56 PM

Hope this is what you need.

Link



#4 lomateron   Members   -  Reputation: 350

Like
0Likes
Like

Posted 26 May 2014 - 10:15 PM

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 



#5 Hodgman   Moderators   -  Reputation: 30415

Like
0Likes
Like

Posted 26 May 2014 - 10:23 PM

Nope, you'd just have to preemptively capture every frame in order to do this :/



#6 unbird   Crossbones+   -  Reputation: 5086

Like
3Likes
Like

Posted 27 May 2014 - 12:34 AM

Draw again ?
bool SOMETHING = drawA();

if(SOMETHING)
{   
    g_pVsgDbg->CaptureCurrentFrame();
    drawA();   
}


#7 lomateron   Members   -  Reputation: 350

Like
0Likes
Like

Posted 27 May 2014 - 12:44 AM

wow!






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS