Provide two functions (e.g. glow::startRendering and glow::endRendering so that glow can track if any resource allocation is done during rendering (which is considered bad) and print warnings if it detects allocation.
This can help tracking performance issues.
As this is a purely debugging related feature, an easy way to disable the feature to either compile or runtime should be provided.
Provide two functions (e.g.
glow::startRendering
andglow::endRendering
so that glow can track if any resource allocation is done during rendering (which is considered bad) and print warnings if it detects allocation.This can help tracking performance issues.
As this is a purely debugging related feature, an easy way to disable the feature to either compile or runtime should be provided.