I've check in a bunch of new stuff into the main / 3.3 branch:
1. Device driver support for hardware stencil buffers.
Four new functions were needed to access the stencil values when
falling onto a software path:
WriteStencilSpan
ReadStencilSpan
WriteStencilPixels
ReadStencilPixels
2. Changed device driver interface for hardware Z buffers.
These functions were removed:
AllocDepthBuffer
DepthTestSpan
DepthTestPixels
ReadDepthSpanFloat
ReadDepthSpanInt
and were replaced with:
WriteDepthSpan
ReadDepthSpan
WriteDepthPixels
ReadDepthPixels
The new functions are more similar to the color and stencil buffer
functions and remove some complexity from device drivers.
3. The gl_create_framebuffer() function now takes several boolean
flags to indicate explicitly which ancillary buffers (depth,
stencil, alpha, accum) should be implemented in software.
Previously, a depth buffer was being allocated with malloc even
if a hardware depth buffer was present.
I've updated the Xlib, OSMesa and 3Dfx drivers with the necessary
changes.
-Brian
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev