opengl: factorize program creation