GLIntercept is a OpenGL function call interceptor for Windows that will intercept and log all OpenGL calls.
Select the version of GLIntercept right for the application being debugged (x86 or x64) - Note you select the version of GLIntercept based on if the application is x86 or x64 (64bit) - not if the operating system is 64 bit.
Then after installation, simply copy the opengl32.dll and a gliConfig.ini file from the install directory to the executable folder of the application you want to intercept OpenGL calls.
Then edit the gliConfig.ini file, enable the options required and then run the application.
GLIntercept works by overriding the call to wglGetProcAddress, wrapping the real function pointer in some assembly and then returning it to the application being debugged.
This means that when new OpenGL extensions/versions are released, GLIntercept will automatically log the new functions.
However, while all function names are automatically logged, function parameters need to be specified. These are supplied via text files in a "C" style syntax that can be updated as needed.
eg. void glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
GLIntercept has existed since 2003 and was mainly designed as an OpenGL 1.0-2.1 debugger. So while basic function logging should work on all OpenGL versions, the more advanced features listed below may or may not work in OpenGL 3.0+. (especially when using a core OpenGL profile)
Main GLIntercept features:
Note Older versions of GLIntercept were licensed under the GPLv2. Newer versions (1.0+) are MIT licensed.
Similar OpenGL tools to GLIntercept are:
OpenGL ES / OpenVG tracing