Obviously, after the textures load the renderer thread can continue on to onDrawFrame(), then everything looks and works great. So my question is, how can I put up a loading screen while opengl is loading the textures in the background?
I've tried starting out with a canvas view, then background loading the textures. However the renderer does not have a surface when its in the background and therefore does not load the textures. The call to switch from the canvas view to the surface view therefore never happens and my application is left stuck at the loading screen.
The loadTextures() call, at least in the replica island code, blocks the renderer thread, and as far as I can see you can't really do more than one thing at a time with opengl anyways.
Any help would be much appreciated. Thank you.




