[Mesa-dev] [PATCH 0/10] i965: Implement hiz and separate stencil for window framebuffer
eric at anholt.net
Sun Jun 5 21:03:42 PDT 2011
On Sun, 05 Jun 2011 10:44:17 +0100, Chris Wilson <chris at 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.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev