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

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2005
    Posts
    2

    Sharing Textures

    Does Anyone know if there is a way to share textures for multiple windows? I am currently using a group of textures and binding them to a 3d object and displaying it one a window. i want to be able to take the same textures and bind them to another object in a seperate window however when i do this it is like the textures have disapeared. Anyone know a way around this WITHOUT having to resend the texture data to memory? I am using Glut...
    Thanks

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jul 2001
    Location
    France
    Posts
    1,749

    Re: Sharing Textures

    This problem is recurrent.
    Textures depends on a context. You'll need to share contexts on context creation so that textures will be available on the newly created contexts. Have a look at the glx specs for more details.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •