I'm rendering successfully my OpenGL view by drawing an offscreen texture (which is created by an offscreen framebuffer).
draw -> offscreen FBO/Texture ------> onscreen FBO ---> render buffer -> context
Now I want to reuse offscreen texture to render another OpenGL context.
draw -> offscreen FBO/Texture ----> onscreen FBO ---> render buffer -> context
\----> onscreen FBO2---> render buffer2 ->context 2
I tried but can not render anything to context 2. Anyone got this issue, and know how to configure to share texture?
Thanks!
UPDATE: I've just created a simple project describing what I'm doing with Framebuffer and double contexts. http://www.mediafire.com/?vxv1bubzvio4q7h