There exists a number of tools useful for performance profiling and debugging OpenGL. I’ll here give a short description of such program and how they are used.
An OpenGL program is a program linked with the OpenGL library, which is responsible for communicating with the graphics-card through the driver.
The traditional way to debug OpenGL is to insert glGetError() after each OpenGL function call as described in the previous blog post
I’ll here describe how to debug OpenGL using the glGetError() function in OpenGL 3.x core profile or higher where the gluErrorString() is no longer available.
There exists quite a few platform abstraction libraries which allow you to create an OpenGL context. Most of these wrappers (