Added pre/post render methods to GL abstraction