Is it possible to implement thread loading in OpenGL ?
I want my worker thread to do the following while the main thread (rendering thread)
draw some simple preloaded looping animated texture.
1.Load texture from disc using PBO (need GL call).
2.Load model data (no thing to do with GL).
3.initialize VAO , VBO data from data load from disc (need GL call).
since OpenGL context will have to be make current in single thread at a time.
How am I going to handle the concurrency ?
Thank in advance.