I have several different X clients (not GL) running on several displays and want to use the image data from them in GL (on yet another display). One way of doing this is to use XGetImage on the other displays and then get this data into GL somehow. How can I do this? Is there a better way of doing this?
Speficically, what I am doing is running 6 copies of Xvfb with an xscreensaver in each. The idea is to render each of these screensavers onto a face of a cube, and render that cube (rotating etc) as the actual scrensaver.
Any suggestions?