creating opengl context and compiling shaders
with swap window