Searched refs:stencilMax (Results 1 – 6 of 6) sorted by relevance
372 const GLuint stencilMax = 0xff; in is_stencil_disabled() local375 return (ctx->Stencil.WriteMask[0] & stencilMax) == 0; in is_stencil_disabled()385 const GLuint stencilMax = 0xff; in is_stencil_masked() local388 return (ctx->Stencil.WriteMask[0] & stencilMax) != stencilMax; in is_stencil_masked()
501 const GLuint stencilMax = (1 << fb->Visual.stencilBits) - 1; in _swrast_write_stencil_span() local526 if ((stencilMask & stencilMax) != stencilMax) { in _swrast_write_stencil_span()557 const GLuint stencilMax = (1 << stencilBits) - 1; in _swrast_clear_stencil_buffer() local573 if ((writeMask & stencilMax) != stencilMax) { in _swrast_clear_stencil_buffer()
674 const GLuint stencilMax = (1 << stencilBits) - 1; in _swrast_clear_depth_stencil_buffer() local692 if ((writeMask & stencilMax) != stencilMax) { in _swrast_clear_depth_stencil_buffer()
101 GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in _mesa_get_stencil_ref() local103 return CLAMP(ref, 0, stencilMax); in _mesa_get_stencil_ref()
95 const unsigned stencilMax = 255; /* XXX fix */ in lp_build_stencil_test_single() local112 if (stencil->valuemask != stencilMax) { in lp_build_stencil_test_single()
1714 const GLuint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in meta_clear() local1808 ctx->Stencil.Clear & stencilMax, in meta_clear()