Lines Matching refs:Stencil
53 GLint ref = ctx->Stencil.Ref[face]; in _mesa_get_stencil_ref()
60 return ctx->Stencil.Enabled && in _mesa_stencil_is_enabled()
67 const int face = ctx->Stencil._BackFace; in _mesa_stencil_is_two_sided()
70 (ctx->Stencil.Function[0] != ctx->Stencil.Function[face] || in _mesa_stencil_is_two_sided()
71 ctx->Stencil.FailFunc[0] != ctx->Stencil.FailFunc[face] || in _mesa_stencil_is_two_sided()
72 ctx->Stencil.ZPassFunc[0] != ctx->Stencil.ZPassFunc[face] || in _mesa_stencil_is_two_sided()
73 ctx->Stencil.ZFailFunc[0] != ctx->Stencil.ZFailFunc[face] || in _mesa_stencil_is_two_sided()
74 ctx->Stencil.Ref[0] != ctx->Stencil.Ref[face] || in _mesa_stencil_is_two_sided()
75 ctx->Stencil.ValueMask[0] != ctx->Stencil.ValueMask[face] || in _mesa_stencil_is_two_sided()
76 ctx->Stencil.WriteMask[0] != ctx->Stencil.WriteMask[face]); in _mesa_stencil_is_two_sided()
83 (ctx->Stencil.WriteMask[0] != 0 || in _mesa_stencil_is_write_enabled()
85 ctx->Stencil.WriteMask[ctx->Stencil._BackFace] != 0)); in _mesa_stencil_is_write_enabled()