18 class DtGlScopedDebugGroup_;
22 #define TRACY_ON_DEMAND
23 #include <tracy/TracyOpenGL.hpp>
25 #define DtGlScopedDebugGroup(id, name) TracyGpuNamedZone( ___tracy_gpu_zone, name, makVrv::DtProfileManager::collectTracyGpuStats()); makVrv::DtGlScopedDebugGroup_ objName##line(id, name);
26 #define DtGlScopedDebugGroupC(id, name, color) TracyGpuNamedZoneC( ___tracy_gpu_zone, name,color, makVrv::DtProfileManager::collectTracyGpuStats()); makVrv::DtGlScopedDebugGroup_ objName##line(id, name);
27 #define DtGlTimedZone( name) TracyGpuNamedZone( ___tracy_gpu_zone, name, makVrv::DtProfileManager::collectTracyGpuStats());
29 #define DtProfileGpuCollect TracyGpuCollect
30 #define DtProfileGpuCreateContext TracyGpuContext
34 #define DtGlScopedDebugGroup(id, name) makVrv::DtGlScopedDebugGroup_ objName##line(id, name);
35 #define DtGlScopedDebugGroupC(id, name, color) makVrv::DtGlScopedDebugGroup_ objName##line(id, name);
36 #define DtGlTimedZone( name);
38 #define DtProfileGpuCollect
39 #define DtProfileGpuCreateContext
48 static bool debuggingEnabled(
void);
49 static void setDebuggingEnabled(
bool val);
72 virtual void setId(
unsigned int id);
73 virtual unsigned int id(
void)
const;
75 virtual void setMessage(
const char* message);
76 virtual const std::string& message(
void)
const;
78 virtual void start(
void);
79 virtual void stop(
void);
94 static int hasGlErrors(
const int maxNumErrors = 100);
97 static std::string toErrorString(
int glErrorId);
Definition: DtGlDebugGroup.h:66
unsigned int myId
Definition: DtGlDebugGroup.h:83
Definition: DtGlDebugGroup.h:45
static bool theDebuggingEnabled
Definition: DtGlDebugGroup.h:51
Definition: DtGlDebugGroup.h:55
Contains the classes allowing the profiler to work, DtProfileManager, DtProfileSample, and DtProfileIterator.
std::string myMessage
Definition: DtGlDebugGroup.h:84
#define DT_DLL_VRVGRAPHICSUTILS
Definition: vrvGraphicsUtils.h:18
Definition: DtGlDebugGroup.h:88