OGLplus is a collection of open-source, cross-platform libraries which implement an object-oriented facade over the OpenGL® (version 3 and higher) and also OpenAL® (version 1.1) and EGL (version 1.4) C-language APIs. It provides wrappers which automate resource and object management and make the use of these libraries in C++ safer and more convenient.
I noticed that every draw call is followed by a glGetError even in LOW_PROFILE mode. My expectation would be that draw calls rarely fail in a way that would not be caught during development, but that the checks cause unnecessary overhead in release (e.g. driver thread synchronization). Therefore I propose to disable the checks in LOW_PROFILE mode, i.e. change OGLPLUS_CHECK to OGLPLUS_VERIFY. Thanks!
I noticed that every draw call is followed by a glGetError even in LOW_PROFILE mode. My expectation would be that draw calls rarely fail in a way that would not be caught during development, but that the checks cause unnecessary overhead in release (e.g. driver thread synchronization). Therefore I propose to disable the checks in LOW_PROFILE mode, i.e. change OGLPLUS_CHECK to OGLPLUS_VERIFY. Thanks!