added function Sdlgl.set_swap_interval
added functions Sdlgl.(set|get)_attribute