Lines Matching refs:stencil
100 GLubyte s = stencil[j]; \
102 stencil[j] = (GLubyte) (NEW_VAL); \
109 GLubyte s = stencil[j]; \
110 stencil[j] = (GLubyte) ((invmask & s) | (wrtmask & (NEW_VAL))); \
128 GLuint n, GLubyte stencil[], const GLubyte mask[], in apply_stencil_op() argument
178 s = (GLubyte) (stencil[j] & valueMask); \
211 GLubyte stencil[], GLubyte mask[], GLint stride) in do_stencil_test() argument
262 apply_stencil_op(ctx, ctx->Stencil.FailFunc[face], face, n, stencil, in do_stencil_test()
294 GLubyte stencil[]) in get_s8_values() argument
305 stencil[i] = *(map + y[i] * rowStride + x[i]); in get_s8_values()
315 _mesa_unpack_ubyte_stencil_row(rb->Format, 1, src, &stencil[i]); in get_s8_values()
328 const GLubyte stencil[]) in put_s8_values() argument
338 pack_stencil(&stencil[i], dst); in put_s8_values()
454 GLint n, GLint x, GLint y, GLubyte stencil[]) in _swrast_read_stencil_span() argument
468 stencil += dx; in _swrast_read_stencil_span()
479 _mesa_unpack_ubyte_stencil_row(rb->Format, n, src, stencil); in _swrast_read_stencil_span()
494 const GLubyte stencil[] ) in _swrast_write_stencil_span() argument
512 stencil += dx; in _swrast_write_stencil_span()
533 = (stencil[i] & stencilMask) | (destVals[i] & ~stencilMask); in _swrast_write_stencil_span()
538 _mesa_pack_ubyte_stencil_row(rb->Format, n, stencil, stencilBuf); in _swrast_write_stencil_span()