Lines Matching refs:Stencil
40 /* Stencil Logic:
133 const GLubyte wrtmask = ctx->Stencil.WriteMask[face];
218 const GLuint valueMask = ctx->Stencil.ValueMask[face];
231 switch (ctx->Stencil.Function[face]) {
262 if (ctx->Stencil.FailFunc[face] != GL_KEEP) {
263 apply_stencil_op(ctx, ctx->Stencil.FailFunc[face], face, n, stencil,
357 const GLuint face = (span->facing == 0) ? 0 : ctx->Stencil._BackFace;
401 apply_stencil_op(ctx, ctx->Stencil.ZPassFunc[face], face, count,
422 if (ctx->Stencil.ZFailFunc[face] != GL_KEEP) {
423 apply_stencil_op(ctx, ctx->Stencil.ZFailFunc[face], face,
426 if (ctx->Stencil.ZPassFunc[face] != GL_KEEP) {
427 apply_stencil_op(ctx, ctx->Stencil.ZPassFunc[face], face,
501 const GLuint stencilMask = ctx->Stencil.WriteMask[0];
555 const GLuint writeMask = ctx->Stencil.WriteMask[0];
592 GLubyte clear = ctx->Stencil.Clear & writeMask & 0xff;
619 GLuint clear = (ctx->Stencil.Clear & writeMask & 0xff) << 24;
632 GLuint clear = ctx->Stencil.Clear & writeMask & 0xff;