gl: more functions for OpenGLVideo