On Sun, 05 Jun 2011 10:44:17 +0100, Chris Wilson <ch...@chris-wilson.co.uk> wrote: > I have a naive question: why are we allocating stencil/depth/aux buffers > through X/DRI2? > > I can understand for the sake of interoperability why the color buffer > attachments are negotiated with X, but I can't see any reason why X > wants to know about the others. > -Chris
From the GLX 1.4 specification: Ancillary buffers are associated with a GLXDrawable, not with a rendering context. If several rendering contexts are all writing to the same window, they will share those buffers. This is why so much of GLX is so painful -- even across address spaces, drawables have to share buffers.
pgpUHPorjdve6.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev