Mock framework for OpenGL applications