Lines Matching refs:Stencil

131    const GLubyte ref = ctx->Stencil.Ref[face];  in apply_stencil_op()
132 const GLubyte wrtmask = ctx->Stencil.WriteMask[face]; in apply_stencil_op()
217 const GLuint valueMask = ctx->Stencil.ValueMask[face]; in do_stencil_test()
218 const GLubyte ref = (GLubyte) (ctx->Stencil.Ref[face] & valueMask); in do_stencil_test()
230 switch (ctx->Stencil.Function[face]) { in do_stencil_test()
261 if (ctx->Stencil.FailFunc[face] != GL_KEEP) { in do_stencil_test()
262 apply_stencil_op(ctx, ctx->Stencil.FailFunc[face], face, n, stencil, in do_stencil_test()
356 const GLuint face = (span->facing == 0) ? 0 : ctx->Stencil._BackFace; in _swrast_stencil_and_ztest_span()
400 apply_stencil_op(ctx, ctx->Stencil.ZPassFunc[face], face, count, in _swrast_stencil_and_ztest_span()
421 if (ctx->Stencil.ZFailFunc[face] != GL_KEEP) { in _swrast_stencil_and_ztest_span()
422 apply_stencil_op(ctx, ctx->Stencil.ZFailFunc[face], face, in _swrast_stencil_and_ztest_span()
425 if (ctx->Stencil.ZPassFunc[face] != GL_KEEP) { in _swrast_stencil_and_ztest_span()
426 apply_stencil_op(ctx, ctx->Stencil.ZPassFunc[face], face, in _swrast_stencil_and_ztest_span()
500 const GLuint stencilMask = ctx->Stencil.WriteMask[0]; in _swrast_write_stencil_span()
554 const GLuint writeMask = ctx->Stencil.WriteMask[0]; in _swrast_clear_stencil_buffer()
590 GLubyte clear = ctx->Stencil.Clear & writeMask & 0xff; in _swrast_clear_stencil_buffer()
617 GLuint clear = (ctx->Stencil.Clear & writeMask & 0xff) << 24; in _swrast_clear_stencil_buffer()
630 GLuint clear = ctx->Stencil.Clear & writeMask & 0xff; in _swrast_clear_stencil_buffer()