17 #define TRACY_ON_DEMAND
18 #include <TracyClient/TracyOpenGL.hpp>
20 #define DtGlScopedDebugGroup(id, name) TracyGpuNamedZone( ___tracy_gpu_zone, name, makVrv::DtProfileManager::collectTracyGpuStats()); DtGlScopedDebugGroup_ objName##line(id, name);
21 #define DtGlTimedZone( name) TracyGpuNamedZone( ___tracy_gpu_zone, name, makVrv::DtProfileManager::collectTracyGpuStats());
22 #define DtGlScopedDebugGroupC(id, name, color) TracyGpuNamedZoneC( ___tracy_gpu_zone, name,color, makVrv::DtProfileManager::collectTracyGpuStats()); DtGlScopedDebugGroup_ objName##line(id, name);
24 #define DtProfileGpuCollect TracyGpuCollect
25 #define DtProfileGpuCreateContext TracyGpuContext
29 #define DtGlScopedDebugGroup(id, name) DtGlScopedDebugGroup_ objName##line(id, name);
30 #define DtGlScopedDebugGroupC(id, name, color) DtGlScopedDebugGroup_ objName##line(id, name);
31 #define DtGlTimedZone( name) ;
32 #define DtProfileGpuCollect
33 #define DtProfileGpuCreateContext
44 static bool debuggingEnabled(
void);
45 static void setDebuggingEnabled(
bool val);
68 virtual void setId(
unsigned int id);
69 virtual unsigned int id(
void)
const;
71 virtual void setMessage(
const char* message);
72 virtual const std::string& message(
void)
const;
74 virtual void start(
void);
75 virtual void stop(
void);
90 static int hasGlErrors(
const int maxNumErrors = 100);
93 static std::string toErrorString(
int glErrorId);
Definition: DtGlDebugGroup.h:62
unsigned int myId
Definition: DtGlDebugGroup.h:79
Definition: DtGlDebugGroup.h:41
static bool theDebuggingEnabled
Definition: DtGlDebugGroup.h:47
Definition: DtGlDebugGroup.h:51
Contains the classes allowing the profiler to work, DtProfileManager, DtProfileSample, and DtProfileIterator.
std::string myMessage
Definition: DtGlDebugGroup.h:80
#define DT_DLL_VRVGRAPHICSUTILS
Definition: vrvGraphicsUtils.h:18
Definition: DtGlDebugGroup.h:84