-
Sharing textures in multithreading app.
Moi! I have an windows application which uses a huge amount of textures (>6 MB).
The application itself allows to inspect the visualized data set (including textures) from different directions. Each rendering of a different direction is done in a separate thread. My question is: has anybody a hack of an idea how I can share texture objects among a number of threads for rendering ?
Thanks in advance
Pittje
-
Re: Sharing textures in multithreading app.
Assuming you're using win32, try wglShareLists. The documentation states that this shares display lists between render-contexts, but in practice this seems to include textures as well.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules