OpenGL function redirector and argument logger