I was using__gpa_gfx_begin_region / __gpa_gfx_end_regionas a way to mark drawcalls in the frame analyser (similar to using D3DPerF_BeginEvent / D3DPerf_EndEvent in pix), but these no longer seem to show up using GPA 4.1. I've made sure I'm using the latest sdk, I'm using directx 9 and visual studio 2008. Is this a known problem? Is there anything I can do to get them back?
As of Intel GPA Version 4, this API function is no longer available.
However, with Version 4 you can use similar ITT functions to see what's happening within your graphics application with the Intel GPA Platform Analyzer utility. Please see the Intel GPA SDK Reference manual for more information.
ps-> by the way, which version of Intel GPA were you using with this API function?
I was using this no problem with GPA 4.0. I used these as I wanted to track draw calls within the Frame Analyzer, the ITT functions only seemed to work in the Platform Analyzer. Do the ITT functions now work in the Frame Analyzer?
I checked with the Dev Team and this function is not in 4.1, and they said it was removed with the 4.0 release (therefore, I'm not sure how you were able to use it in 4.0).
In any case, let's see if there's another way to do what you want in the 4.1 release. Can you give me more details about what you would like to see in Intel GPA Frame Analyzer (I know you've given some info here, but I want to be sure I don't make any assumptions). Specifically, what workflow or tasks are you trying to accomplish using these functions?
What I'm trying to do is mark regions of drawcall events so I can get a hierarchal view of events in the Frame Analyzer complete with names. Basically so I can find draw calls under different render passes quickly, mark each drawprim with the meshname etc. At the moment I see hiearchical regions but nothings named.
I had one of the developers mention that Intel GPA Frame Analyzer also makes use of the data
from D3DPERF_BeginEvent() and D3DPERF_SetMarker(). Use of these calls may enable you to see similar information to what you had with the other function call.
Awesome that all works, thanks! One thing I had to change for a GPA capture compared to a PIX capture was remove the calls to D3DPERF_GetStatus(), we use that to determine whether to allow D3DPERF_BeginEvent and as pix wasn't running that returns false. Any chance you guys can add support to that so we can tell whether the app is being monitored? Currently I'm having to create a dummy domain and check its flags to determine if the monitors running.