I want to get other process's window handle to render it on GL program.
What i want to do is this.
- Set a GL vertex array, and index buffer object.
- Make a 1 texture.
- Get other process's framebuffer and copy this buffer's data to texture i made above.
- GL's Fragment shader use this texture and draw it on cube's faces.
Is it possible to get other process's windows handle or framebuffer with Apple's system library?
Target Platform is MacOS 12.01 Monterey. OpenGL 4.0. and Language is C++.