On Monday 20 September 2004 13:17, Amir Bukhari wrote: > On Mon, 2004-09-20 at 18:47, Ian Romanick wrote: > > I just want to clarify things. Do you want to write a new application > > that renders to off-screen or do you want to redirect the output of an > > arbitrary existing appliation to off-screen? If you want to write a new > > application that renders to off-screen, Keith is right. You want to use > > pbuffers. > > Nope. I don't want to write a new application which rendered to > offscreen. > All GL application are rendered inside a window (x window), I want to > redirect this window, which is associated to GL to offscreen. I need > this because I work on 3D Desktop, which use XComposite extension to > redirect requested windows to offscreen. so I can manage then in 3D > Desktop. GL Applications can't currently be redirect to offscreen by > XComposite, because DRI write directly to screen, it didn't use X Server > BitBlit operations, which access the framebuffer of the video card.
You still want pbuffers. Composite should enable the compmgr to redirect GL contexts to pbuffers without the GL app knowing about it. This requires more pbuffer support than currently exists in DRI, and also requires extending the Composite code to handle this case. You might start by extending Composite to work with the pbuffer support we have in software, which would enable composition for indirect rendering contexts. It wouldn't be fast, but it'd be a working demo at least. - ajax
pgpEN1GFO08QW.pgp
Description: PGP signature