Is there a document describing 2D stencil pipe ? Static, no rotation etc.
Something in more details then
enable stencil (buffer) write stencil ( mask) to stencil buffer 1st pass write stencil object to stencil buffer .... setup stencil function 2nd pass write object to be analyzed