[Qt-interest] Loading OpenGL Textures In A Separate Thread
andrew.m.goth at l-3com.com
andrew.m.goth at l-3com.com
Wed Apr 22 22:28:04 CEST 2009
Karol Krizka wrote:
> textures are loading in the background in a separate thread.
You could load the images from disk in the separate thread and make textures out of them in the main thread.
> create a new OpenGL context in the loader thread and have it share
> it's lists with the original OpenGL context.
I doubt this is possible. If it is in fact possible, it would be beneficial to me, since my application dynamically creates very large display lists as the camera is moved around. The display lists are computed in a separate thread, but the simple act of passing the arrays through glNewList(), etc., blocks the user interface for longer than I am comfortable with.
--
Andy Goth
<amgoth at link.com>
More information about the Qt-interest-old
mailing list