• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:GLubyte

65    const GLubyte one = 1;  in get_stencil_offset()
66 GLubyte pixel[MAX_PIXEL_BYTES]; in get_stencil_offset()
85 static inline GLubyte
101 GLubyte s = stencil[j]; \
103 stencil[j] = (GLubyte) (NEW_VAL); \
110 GLubyte s = stencil[j]; \
111 stencil[j] = (GLubyte) ((invmask & s) | (wrtmask & (NEW_VAL))); \
129 GLuint n, GLubyte stencil[], const GLubyte mask[], in apply_stencil_op()
132 const GLubyte ref = _mesa_get_stencil_ref(ctx, face); in apply_stencil_op()
133 const GLubyte wrtmask = ctx->Stencil.WriteMask[face]; in apply_stencil_op()
134 const GLubyte invmask = (GLubyte) (~wrtmask); in apply_stencil_op()
179 s = (GLubyte) (stencil[j] & valueMask); \
212 GLubyte stencil[], GLubyte mask[], GLint stride) in do_stencil_test()
215 GLubyte *fail = swrast->stencil_temp.buf2; in do_stencil_test()
219 const GLubyte ref = (GLubyte) (_mesa_get_stencil_ref(ctx, face) & valueMask); in do_stencil_test()
220 GLubyte s; in do_stencil_test()
276 compute_pass_fail_masks(GLuint n, const GLubyte origMask[], in compute_pass_fail_masks()
277 const GLubyte newMask[], in compute_pass_fail_masks()
278 GLubyte passMask[], GLubyte failMask[]) in compute_pass_fail_masks()
295 GLubyte stencil[]) in get_s8_values()
299 const GLubyte *map = _swrast_pixel_address(rb, 0, 0); in get_s8_values()
315 const GLubyte *src = map + y[i] * rowStride + x[i] * bpp; in get_s8_values()
329 const GLubyte stencil[]) in put_s8_values()
338 GLubyte *dst = _swrast_pixel_address(rb, x[i], y[i]); in put_s8_values()
359 GLubyte *mask = span->array->mask; in _swrast_stencil_and_ztest_span()
360 GLubyte *stencilTemp = swrast->stencil_temp.buf1; in _swrast_stencil_and_ztest_span()
361 GLubyte *stencilBuf; in _swrast_stencil_and_ztest_span()
409 GLubyte *passMask = swrast->stencil_temp.buf2; in _swrast_stencil_and_ztest_span()
410 GLubyte *failMask = swrast->stencil_temp.buf3; in _swrast_stencil_and_ztest_span()
411 GLubyte *origMask = swrast->stencil_temp.buf4; in _swrast_stencil_and_ztest_span()
414 memcpy(origMask, mask, count * sizeof(GLubyte)); in _swrast_stencil_and_ztest_span()
455 GLint n, GLint x, GLint y, GLubyte stencil[]) in _swrast_read_stencil_span()
457 GLubyte *src; in _swrast_read_stencil_span()
495 const GLubyte stencil[] ) in _swrast_write_stencil_span()
502 GLubyte *stencilBuf; in _swrast_write_stencil_span()
527 GLubyte *destVals = swrast->stencil_temp.buf1; in _swrast_write_stencil_span()
528 GLubyte *newVals = swrast->stencil_temp.buf2; in _swrast_write_stencil_span()
554 const GLubyte stencilBits = ctx->DrawBuffer->Visual.stencilBits; in _swrast_clear_stencil_buffer()
558 GLubyte *map; in _swrast_clear_stencil_buffer()
592 GLubyte clear = ctx->Stencil.Clear & writeMask & 0xff; in _swrast_clear_stencil_buffer()
593 GLubyte mask = (~writeMask) & 0xff; in _swrast_clear_stencil_buffer()
597 GLubyte *row = map; in _swrast_clear_stencil_buffer()