Track two sets of back-face stencil state
authorIan Romanick <idr@freedesktop.org>
Fri, 9 Jan 2009 23:43:17 +0000 (15:43 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 23 Jan 2009 17:49:29 +0000 (09:49 -0800)
commitdde7cb962860e72e1bf3175069767358cc5b3f3c
tree64ca81d4f544ae7f28618c919af58a844f246de9
parentaf0e6336e9d7dc19d74950ce13b33e1fa1b2081d
Track two sets of back-face stencil state

Track separate back-face stencil state for OpenGL 2.0 /
GL_ATI_separate_stencil and GL_EXT_stencil_two_side.  This allows all
three to be enabled in a driver.  One set of state is set via the 2.0
or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is
disabled.  The other is set by StencilFunc and StencilOp when the
active stencil face is set to BACK.  The GL_EXT_stencil_two_side spec has
more details.

http://opengl.org/registry/specs/EXT/stencil_two_side.txt
src/mesa/drivers/dri/i965/brw_cc.c
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/r300/r300_render.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/main/enable.c
src/mesa/main/getstring.c
src/mesa/main/mtypes.h
src/mesa/main/stencil.c
src/mesa/swrast/s_stencil.c