Added some wrapper functions for the GL capturer