15 #define TRACY_ON_DEMAND
16 #include <TracyClient/TracyOpenGL.hpp>
18 #define DtGlScopedDebugGroup(id, name) TracyGpuNamedZone( ___tracy_gpu_zone, name, makVrv::DtProfileManager::collectTracyGpuStats()); DtGlScopedDebugGroup_ objName##line(id, name);
19 #define DtGlTimedZone( name) TracyGpuNamedZone( ___tracy_gpu_zone, name, makVrv::DtProfileManager::collectTracyGpuStats());
20 #define DtGlScopedDebugGroupC(id, name, color) TracyGpuNamedZoneC( ___tracy_gpu_zone, name,color, makVrv::DtProfileManager::collectTracyGpuStats()); DtGlScopedDebugGroup_ objName##line(id, name);
22 #define DtProfileGpuCollect TracyGpuCollect
23 #define DtProfileGpuCreateContext TracyGpuContext
27 #define DtGlScopedDebugGroup(id, name) DtGlScopedDebugGroup_ objName##line(id, name);
28 #define DtGlScopedDebugGroupC(id, name, color) DtGlScopedDebugGroup_ objName##line(id, name);
29 #define DtGlTimedZone( name) ;
30 #define DtProfileGpuCollect
31 #define DtProfileGpuCreateContext
42 static bool debuggingEnabled(
void);
43 static void setDebuggingEnabled(
bool val);
66 virtual void setId(
unsigned int id);
67 virtual unsigned int id(
void)
const;
69 virtual void setMessage(
const char* message);
70 virtual const std::string& message(
void)
const;
72 virtual void start(
void);
73 virtual void stop(
void);
88 static int hasGlErrors(
const int maxNumErrors = 100);
Definition: DtGlDebugGroup.h:60
unsigned int myId
Definition: DtGlDebugGroup.h:77
Definition: DtGlDebugGroup.h:39
static bool theDebuggingEnabled
Definition: DtGlDebugGroup.h:45
Definition: DtGlDebugGroup.h:49
Contains the classes allowing the profiler to work, DtProfileManager, DtProfileSample, and DtProfileIterator.
std::string myMessage
Definition: DtGlDebugGroup.h:78
#define DT_DLL_VRVGRAPHICSUTILS
Definition: vrvGraphicsUtils.h:18
Definition: DtGlDebugGroup.h:82