Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Debugging with PIX question

4: Adsense

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
1 reply to this topic

#1 lomateron   Members   

491
Like
0Likes
Like

Posted 13 September 2012 - 12:39 AM

I need to debug with PIX an special frame that runs some special code just one time.
I need to capture a frame like f12 does. The frame i need to capture runs just one time in special occasions, so i need to trigger the capture frame when that special thing happens.

Then i saw the PIX functions:
int D3DPERF_BeginEvent()
void D3DPERF_SetMarker()

and that I can trigger the capture frame when using those functions but then I saw that the requirement to use the function was to have in the header "d3d9.h".
I am using directx 10, Is there any way I can capture the frame?

#2 MJP   Moderators   

19477
Like
0Likes
Like

Posted 13 September 2012 - 01:04 AM

Just include d3d9.h and link to d3d9.lib. You can still call those functions in a DX10 app.




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.