Lines Matching refs:format
59 #include "util/format/u_format.h"
1199 * need a copy of the data in a standard format.
1204 GLenum format, GLenum type, const GLvoid *pixels,
1223 const GLint bytesPerPixel = _mesa_bytes_per_pixel(format, type);
1224 GLint components = _mesa_components_in_format(format);
1231 return NULL; /* bad format or type. generate error later */
1253 width, height, format, type, img, row, 0);
1370 assert(!"Unsupported format");
1637 _mesa_unpack_ubyte_rgba_row(mesa_format format, uint32_t n,
1641 util_format_unpack_description((enum pipe_format)format);
1651 _mesa_unpack_rgba_row(format, n, src, (float (*)[4]) tmp);
1706 * \param format the source data format
1709 _mesa_unpack_uint_24_8_depth_stencil_row(mesa_format format, uint32_t n,
1712 switch (format) {
1723 unreachable("bad format %s in _mesa_unpack_uint_24_8_depth_stencil_row");
1770 * \param format the source data format
1783 _mesa_unpack_float_32_uint_24_8_depth_stencil_row(mesa_format format, uint32_t n,
1786 switch (format) {
1797 unreachable("bad format %s in _mesa_unpack_uint_24_8_depth_stencil_row");