vo_gl: convert to new API, clean up code