Can I capture or log the OpenGL calls an application makes?
IBM has a product called ZAPdb that does this. It ships with many UNIX implementations, including IBM and HP. It was available on Windows NT in the past, but its current status is unknown. A non-IBM web page appears to have ZAPdb available for download. 3dpipeline.com offers a product called GLAlanyze Pro, which captures OpenGL call traces, as well as provides other analysis features. There’s a free utility called GLTrace2, which contains capture functionality similar to ZAPdb and GLAnalyze Pro. More info on GLTrace2 can be found here. In theory, you could code a simple library that contains OpenGL function entry points, and logs function calls and parameters passed. Name this library opengl32.dll and store it in your Windows system folder (first, be careful to save the existing opengl32.dll). This shouldn’t be a difficult programming task, but it might be tedious and time consuming. This solution is not limited to Microsoft Windows; using the appropriate library name, you can code thi