• Home
  • Raw
  • Download

Lines Matching refs:GLubyte

64    const GLubyte one = 1;  in get_stencil_offset()
65 GLubyte pixel[MAX_PIXEL_BYTES]; in get_stencil_offset()
84 static inline GLubyte
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()
131 const GLubyte ref = ctx->Stencil.Ref[face]; in apply_stencil_op()
132 const GLubyte wrtmask = ctx->Stencil.WriteMask[face]; in apply_stencil_op()
133 const GLubyte invmask = (GLubyte) (~wrtmask); in apply_stencil_op()
178 s = (GLubyte) (stencil[j] & valueMask); \
211 GLubyte stencil[], GLubyte mask[], GLint stride) in do_stencil_test()
214 GLubyte *fail = swrast->stencil_temp.buf2; in do_stencil_test()
218 const GLubyte ref = (GLubyte) (ctx->Stencil.Ref[face] & valueMask); in do_stencil_test()
219 GLubyte s; in do_stencil_test()
275 compute_pass_fail_masks(GLuint n, const GLubyte origMask[], in compute_pass_fail_masks()
276 const GLubyte newMask[], in compute_pass_fail_masks()
277 GLubyte passMask[], GLubyte failMask[]) in compute_pass_fail_masks()
294 GLubyte stencil[]) in get_s8_values()
298 const GLubyte *map = _swrast_pixel_address(rb, 0, 0); in get_s8_values()
314 const GLubyte *src = map + y[i] * rowStride + x[i] * bpp; in get_s8_values()
328 const GLubyte stencil[]) in put_s8_values()
337 GLubyte *dst = _swrast_pixel_address(rb, x[i], y[i]); in put_s8_values()
358 GLubyte *mask = span->array->mask; in _swrast_stencil_and_ztest_span()
359 GLubyte *stencilTemp = swrast->stencil_temp.buf1; in _swrast_stencil_and_ztest_span()
360 GLubyte *stencilBuf; in _swrast_stencil_and_ztest_span()
408 GLubyte *passMask = swrast->stencil_temp.buf2; in _swrast_stencil_and_ztest_span()
409 GLubyte *failMask = swrast->stencil_temp.buf3; in _swrast_stencil_and_ztest_span()
410 GLubyte *origMask = swrast->stencil_temp.buf4; in _swrast_stencil_and_ztest_span()
413 memcpy(origMask, mask, count * sizeof(GLubyte)); in _swrast_stencil_and_ztest_span()
454 GLint n, GLint x, GLint y, GLubyte stencil[]) in _swrast_read_stencil_span()
456 GLubyte *src; in _swrast_read_stencil_span()
494 const GLubyte stencil[] ) in _swrast_write_stencil_span()
501 GLubyte *stencilBuf; in _swrast_write_stencil_span()
526 GLubyte *destVals = swrast->stencil_temp.buf1; in _swrast_write_stencil_span()
527 GLubyte *newVals = swrast->stencil_temp.buf2; in _swrast_write_stencil_span()
553 const GLubyte stencilBits = ctx->DrawBuffer->Visual.stencilBits; in _swrast_clear_stencil_buffer()
557 GLubyte *map; in _swrast_clear_stencil_buffer()
590 GLubyte clear = ctx->Stencil.Clear & writeMask & 0xff; in _swrast_clear_stencil_buffer()
591 GLubyte mask = (~writeMask) & 0xff; in _swrast_clear_stencil_buffer()
595 GLubyte *row = map; in _swrast_clear_stencil_buffer()