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,
417 const GLuint face = (span->facing == 0) ? 0 : ctx->Stencil._BackFace;
461 apply_stencil_op(ctx, ctx->Stencil.ZPassFunc[face], face, count,
482 if (ctx->Stencil.ZFailFunc[face] != GL_KEEP) {
483 apply_stencil_op(ctx, ctx->Stencil.ZFailFunc[face], face,
486 if (ctx->Stencil.ZPassFunc[face] != GL_KEEP) {
487 apply_stencil_op(ctx, ctx->Stencil.ZPassFunc[face], face,
561 const GLuint stencilMask = ctx->Stencil.WriteMask[0];
615 const GLuint writeMask = ctx->Stencil.WriteMask[0];
652 GLubyte clear = ctx->Stencil.Clear & writeMask & 0xff;
679 GLuint clear = (ctx->Stencil.Clear & writeMask & 0xff) << 24;
692 GLuint clear = ctx->Stencil.Clear & writeMask & 0xff;