-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johan Bilien wrote: | On Fri, Jan 18, 2008, Ian Romanick wrote: |> Johan Bilien wrote: |> | Is it possible to share an (indirect) GL context accelerated with AIGLX? |> | The idea would be to have several clients render to FBOs and a |> | compositor client rendering the final scene. |> |> Technically, it should work. In fact, that's the whole point of that |> extension. :) Since I don't think anybody has actually tested it, it |> probably won't work. Bug reports, test cases, and patches are always |> welcome. :) | | It does work reasonably well. No framebuffer object yet but a shared | context and 3 clients, two draw each their mesh and a third swaps the | buffers regularly. Lots of interesting synchronization problems ahead :) | Right now I only use a semaphore to lock the context.
Couple bits of advice...right now framebuffer objects are, technically, sharable. It's painful for drivers, and the ARB is aware of this problem. The best bet is that FBOs will *not* be sharable in the next version of OpenGL, but textures (naturally) and renderbuffers will be. This is certainly the option that I prefer. My advice is to just share the textures and renderbuffers that make up the FBO, and create a fresh FBO in each context. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHlRH9X1gOwKyEAw8RAoMWAKCLp0+EJvO1l0UXwYXLc8S1eN2khQCdE+2d 9+bJKB+GQtNJ3hnZ85HEaUc= =XFvc -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
