gl: save current drawable to reduce glXMakeCurrent