Beispiel #1
0
bool perfActive()
{
#if defined(ANGLE_ENABLE_DEBUG_ANNOTATIONS)
    static bool active = D3DPERF_GetStatus() != 0;
    return active;
#else
    return false;
#endif
}
bool perfActive()
{
#if defined(ANGLE_DISABLE_PERF)
    return false;
#else
    static bool active = D3DPERF_GetStatus() != 0;
    return active;
#endif
}
Beispiel #3
0
 bool getStatus()
 {
     return !!D3DPERF_GetStatus();
 }
bool DebugAnnotator9::getStatus()
{
    return !!D3DPERF_GetStatus();
}