opengl: move fragment shader creation to renderer