Shared OpenGL context


Hello Jucers!

I would like to have two detached OpenGL Components (added to different regions of the Desktop, or a parent component) but who render simultaneously “almost” the same stuff. Lets say the first component renders two overlayed textures and the second renders only the first texture. I guess I should use something like the shareWith() call but, since I am not really familiar with this approach, I would like to ask you:

:?: at what point of the program flow should I share the graphics context?
:?: should I use the same timer for both components?

… and everything I just missed to aks :slight_smile:

Thx A LOT in advance