Home
last modified time | relevance | path

Searched refs:stencilMax (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c372 const GLuint stencilMax = 0xff; in is_stencil_disabled() local
375 return (ctx->Stencil.WriteMask[0] & stencilMax) == 0; in is_stencil_disabled()
385 const GLuint stencilMax = 0xff; in is_stencil_masked() local
388 return (ctx->Stencil.WriteMask[0] & stencilMax) != stencilMax; in is_stencil_masked()
/external/mesa3d/src/mesa/swrast/
Ds_stencil.c501 const GLuint stencilMax = (1 << fb->Visual.stencilBits) - 1; in _swrast_write_stencil_span() local
526 if ((stencilMask & stencilMax) != stencilMax) { in _swrast_write_stencil_span()
557 const GLuint stencilMax = (1 << stencilBits) - 1; in _swrast_clear_stencil_buffer() local
573 if ((writeMask & stencilMax) != stencilMax) { in _swrast_clear_stencil_buffer()
Ds_depth.c674 const GLuint stencilMax = (1 << stencilBits) - 1; in _swrast_clear_depth_stencil_buffer() local
692 if ((writeMask & stencilMax) != stencilMax) { in _swrast_clear_depth_stencil_buffer()
/external/mesa3d/src/mesa/main/
Dstencil.h101 GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in _mesa_get_stencil_ref() local
103 return CLAMP(ref, 0, stencilMax); in _mesa_get_stencil_ref()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c95 const unsigned stencilMax = 255; /* XXX fix */ in lp_build_stencil_test_single() local
112 if (stencil->valuemask != stencilMax) { in lp_build_stencil_test_single()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c1714 const GLuint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; in meta_clear() local
1808 ctx->Stencil.Clear & stencilMax, in meta_clear()