wrapped some of the gl11 operations