0

My application adapts to a slow framerate in a few different ways. When I run a PIX experiment, rendering gets much slower so these techniques get activated. I would like to disable this without having to do a seperate build when I want to use PIX. Something like:

if (running_slow() && !running_pix()) {
    reduce_graphics();
}
IronMensan
  • 6,761
  • 1
  • 26
  • 35

1 Answers1

0

In the DirectX June 2010 SDK:

bool running_pix() {
    return D3DPERF_GetStatus() != 0;
}
Slagh
  • 342
  • 2
  • 8