Home | History | Annotate | Download | only in swrast

Lines Matching refs:Format

58  * For example, if the format is Z24+S8, the position of the stencil bits
62 get_stencil_offset(gl_format format)
66 GLint bpp = _mesa_get_format_bytes(format);
69 assert(_mesa_get_format_bits(format, GL_STENCIL_BITS) == 8);
71 _mesa_pack_ubyte_stencil_row(format, 1, &one, pixel);
301 if (rb->Format == MESA_FORMAT_S8) {
310 const GLint bpp = _mesa_get_format_bytes(rb->Format);
315 _mesa_unpack_ubyte_stencil_row(rb->Format, 1, src, &stencil[i]);
332 _mesa_get_pack_ubyte_stencil_func(rb->Format);
354 const GLint stencilOffset = get_stencil_offset(rb->Format);
355 const GLint stencilStride = _mesa_get_format_bytes(rb->Format);
479 _mesa_unpack_ubyte_stencil_row(rb->Format, n, src, stencil);
530 _mesa_unpack_ubyte_stencil_row(rb->Format, n, stencilBuf, destVals);
535 _mesa_pack_ubyte_stencil_row(rb->Format, n, newVals, stencilBuf);
538 _mesa_pack_ubyte_stencil_row(rb->Format, n, stencil, stencilBuf);
575 else if (_mesa_get_format_bits(rb->Format, GL_DEPTH_BITS) > 0) {
587 switch (rb->Format) {
642 _mesa_problem(ctx, "Unexpected stencil buffer format %s"
644 _mesa_get_format_name(rb->Format));