Let's say I have application A , the witch is responsible for drawing on the screen through the OpenGL library. For tight integration, I would like to let this application A do its job, but render it in FBO or directly in the rendering buffer and allow application B have read - only access to this buffer handles the display on the screen (basically it's like a 2D texture) .
It seems that FBOs refers to OpenGL contexts, and contexts are not shared between processes. I definitely understand that resolving multiple processes in which there is a mess with the same context is evil. But in my particular case, I find it reasonable to think that it can be pretty safe.
NOTE:
Appendix A is QApplication , and Appendix B is native win32 one
EDIT:
The rendering size is close to full-screen mode, I was thinking about the 2048x2048 32bits buffer (until I use the alpha channel, but why not the last one).
c ++ windows qt opengl
vrince
source share