cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
539 stars 59 forks source link

Provide the concept of globjects being in drawing state #221

Closed scheibel closed 9 years ago

scheibel commented 10 years ago

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.

scheibel commented 9 years ago

Dismissed for now.