Load OpenGL library, redirect debug output to our logger. You can pass a null logger if you don't want logging.
Check for pending OpenGL errors, log a message if there is. Only for debug purpose since this check will be disabled in a release build.
Tries to detect the driver maker.
Redirects OpenGL debug output to the Logger. You still has to use glDebugMessageControl to set which messages are emitted. For example, to enable all messages, use: glDebugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, null, GL_TRUE);
Checks pending OpenGL errors.
Checks pending OpenGL errors.
Calls glGetIntegerv and gives back the requested integer.
This object is passed around to other OpenGL wrapper objects to ensure library loading. Create one to use OpenGL.