Debugging in graphical applications is done primarily by visual inspection. Either the correct visual effect appears on the screen, or it does not. When a visual effect does not appear correctly, programmers have to carefully step through code, often guessing and making small changes before rebuilding their entire codebase. In this talk, we are going to understand how to instrument OpenGL programs using code injection techniques to log and record information and ultimately understand why each pixel appears as it does on the screen. We will then discuss how we can build tools on top of the recorded data to help assist in debugging graphics applications. Attendees will leave the session with the ability to make a small logger capable of recording OpenGL function calls and be able to further extend it for their needs.

More to come soon

Talk slides are here: Slides Hooray! More to come in terms of code/writeup.