mesa: move update_depth/stencil_buffer() functions
authorBrian Paul <brianp@vmware.com>
Sat, 10 Dec 2011 18:44:43 +0000 (11:44 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Dec 2011 13:45:37 +0000 (06:45 -0700)
commitc0a55cf68aa80cacbc709b25205705eee2e3bbdb
tree71a54112c58ea1aa7ebd5155a3c1c907d51b72da
parent2750809b2e9a7d24d83d01f0a1d5bb5dce027b4c
mesa: move update_depth/stencil_buffer() functions

These functions update the gl_framebuffer::_DepthBuffer and _StencilBuffer
fields, possibly creating renderbuffer wrappers that make a shared
depth+stencil accessible as depth-only or stencil only.
This stuff is only used by swrast now and will be moved there next.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/depthstencil.c
src/mesa/main/depthstencil.h
src/mesa/main/framebuffer.c