MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / PushGPUProfileRange

Function PushGPUProfileRange

Source/Main/engine.cpp:433–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431VBOContainer quad_index_vbo;
432
433void PushGPUProfileRange(const char* cstr) {
434#ifdef USE_NVTX_PROFILER
435 nvtxRangePushA(cstr);
436#endif
437
438#ifdef GLDEBUG
439 if (GLAD_GL_KHR_debug) {
440 glPushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 1, -1, cstr);
441 }
442#endif // GLDEBUG
443}
444
445void PopGPUProfileRange() {
446#ifdef USE_NVTX_PROFILER

Callers 3

DrawSceneMethod · 0.85
DrawMethod · 0.85
DrawImGuiCameraPreviewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected