Jump to content

  • Log In with Google      Sign In   
  • Create Account


Validity of texture names from glGenTextures(...)


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Matt da Monkey   Members   -  Reputation: 122

Like
Likes
Like

Posted 12 December 2001 - 11:58 PM

Are the texture names that you get by means of glGenTextures valid across different rendering contexts? can you trustfully share textures amongst different contexts? it seems that you can do so, but is this standard? has anyone ever found any concise info about this? There seem to be a lack of information about this fact, maybe because the rendering context thing isn''t really part of OpenGL itself, just an adaptation to the underlying GUI, in DirectX is quite straightforward... textures are related to devices, but OpenGL contexts encapsulate not only the device, but also the target window/bitmap etc... and hide them all, so it isn''t that clear, has anyone worked with a multidevice OpenGL architecture (like those Origin SGIs) and have a clear idea about this? Regards Matt

Sponsor:

#2 Jallen   Members   -  Reputation: 122

Like
Likes
Like

Posted 13 December 2001 - 04:55 AM

If you want to share textures across rendering contexts you have to use wglShareLists (which shares display lists, textures, vertex programs, etc...).

Jason A.

---
I write code.
DelphiGL (http://delphigl.cfxweb.net)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS