SDL Window wrapper.
There is two ways to receive events, either by polling a SDL2 object,
or by overriding the event callbacks.
Creates a SDL window which targets a window.
Creates a SDL window from anexisting handle.
Submit changes to the window surface.
Swap OpenGL buffers.
SDL OpenGL context wrapper. You probably don't need to use it directly.
Creates an OpenGL context for a given SDL window.
Release the associated SDL ressource.
Makes this OpenGL context current.