Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Sharing textures in multithreading app.

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000
    Location
    Northern part of the black forest
    Posts
    2

    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

  2. #2
    Intern Newbie
    Join Date
    Feb 2000
    Location
    Manchester, UK
    Posts
    40

    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
  •