Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Matt da Monkey

Validity of texture names from glGenTextures(...)

This topic is 6062 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites
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)

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!