Lines Matching refs:Stencil
102 GLint ref = ctx->Stencil.Ref[face]; in _mesa_get_stencil_ref()
109 return ctx->Stencil.Enabled && in _mesa_stencil_is_enabled()
116 const int face = ctx->Stencil._BackFace; in _mesa_stencil_is_two_sided()
119 (ctx->Stencil.Function[0] != ctx->Stencil.Function[face] || in _mesa_stencil_is_two_sided()
120 ctx->Stencil.FailFunc[0] != ctx->Stencil.FailFunc[face] || in _mesa_stencil_is_two_sided()
121 ctx->Stencil.ZPassFunc[0] != ctx->Stencil.ZPassFunc[face] || in _mesa_stencil_is_two_sided()
122 ctx->Stencil.ZFailFunc[0] != ctx->Stencil.ZFailFunc[face] || in _mesa_stencil_is_two_sided()
123 ctx->Stencil.Ref[0] != ctx->Stencil.Ref[face] || in _mesa_stencil_is_two_sided()
124 ctx->Stencil.ValueMask[0] != ctx->Stencil.ValueMask[face] || in _mesa_stencil_is_two_sided()
125 ctx->Stencil.WriteMask[0] != ctx->Stencil.WriteMask[face]); in _mesa_stencil_is_two_sided()
132 (ctx->Stencil.WriteMask[0] != 0 || in _mesa_stencil_is_write_enabled()
134 ctx->Stencil.WriteMask[ctx->Stencil._BackFace] != 0)); in _mesa_stencil_is_write_enabled()