Opengl Extentions & Multiple Rendering Context
Hi yall,
I haven''t used opengl extensions yet, so please bare with me...
I''m in a situation where I need to create multiple opengl rending contexts, i.e. I need multiple video channel. I may have a single card supporting multiple channels (ex. NVidia QuadroPro) or I can install two cards in the same computer, in which case the first will be AGP and the other PCI.
Since I have multiple opengl rendering context, do I need to recover and store the address of the extension fonctions per context? From what I read so far, I think so.
Does anyone know where I can find source code that can do this for me. I would like to avoid doing it myself if I can and therefore save me a bit of time.
I was thinking about storing the extension function addresses in a structure array. When I change the rendering context, I would then using the appropriate index withing my structure array to get access to the functions.
Any suggestions would be appreciated.
Guy
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement