Added more gl context functions