Mock framework for OpenGL application