Multithread OpenGl Rendering