Lines Matching refs:srcWidth

150 do_row(GLenum datatype, GLuint comps, GLint srcWidth,  in do_row()  argument
154 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row()
155 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row()
783 do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth, in do_row_3D() argument
788 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; in do_row_3D()
789 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; in do_row_3D()
1417 GLint srcWidth, const GLubyte *srcPtr, in make_1d_mipmap() argument
1429 do_row(datatype, comps, srcWidth - 2 * border, src, src, in make_1d_mipmap()
1439 srcPtr + (srcWidth - 1) * bpt, in make_1d_mipmap()
1447 GLint srcWidth, GLint srcHeight, in make_2d_mipmap() argument
1453 const GLint srcWidthNB = srcWidth - 2 * border; /* sizes w/out border */ in make_2d_mipmap()
1461 srcA = srcPtr + border * ((srcWidth + 1) * bpt); in make_2d_mipmap()
1492 srcPtr + (srcWidth - 1) * bpt, bpt); in make_2d_mipmap()
1495 srcPtr + srcWidth * (srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1498 srcPtr + (srcWidth * srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1506 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1507 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1515 srcPtr + srcWidth * row * bpt, bpt); in make_2d_mipmap()
1517 srcPtr + (srcWidth * row + srcWidth - 1) * bpt, bpt); in make_2d_mipmap()
1524 srcPtr + (srcWidth * (row * 2 + 1)) * bpt, in make_2d_mipmap()
1525 srcPtr + (srcWidth * (row * 2 + 2)) * bpt, in make_2d_mipmap()
1528 srcPtr + (srcWidth * (row * 2 + 1) + srcWidth - 1) * bpt, in make_2d_mipmap()
1529 srcPtr + (srcWidth * (row * 2 + 2) + srcWidth - 1) * bpt, in make_2d_mipmap()
1539 GLint srcWidth, GLint srcHeight, GLint srcDepth, in make_3d_mipmap() argument
1545 const GLint srcWidthNB = srcWidth - 2 * border; /* sizes w/out border */ in make_3d_mipmap()
1617 srcWidth, srcHeight, srcPtr[0], srcRowStride, in make_3d_mipmap()
1621 srcWidth, srcHeight, srcPtr[srcDepth - 1], srcRowStride, in make_3d_mipmap()
1642 src = srcPtr[img * 2] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1674 srcA = srcPtr[img * 2 + 0] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1675 srcB = srcPtr[img * 2 + srcImageOffset] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1702 GLint srcWidth, GLint srcHeight, GLint srcDepth, in _mesa_generate_mipmap_level() argument
1714 srcWidth, srcData[0], in _mesa_generate_mipmap_level()
1725 srcWidth, srcHeight, srcData[0], srcRowStride, in _mesa_generate_mipmap_level()
1730 srcWidth, srcHeight, srcDepth, in _mesa_generate_mipmap_level()
1740 srcWidth, srcData[i], in _mesa_generate_mipmap_level()
1748 srcWidth, srcHeight, srcData[i], srcRowStride, in _mesa_generate_mipmap_level()
1768 GLint srcWidth, GLint srcHeight, GLint srcDepth, in _mesa_next_mipmap_level_size() argument
1771 if (srcWidth - 2 * border > 1) { in _mesa_next_mipmap_level_size()
1772 *dstWidth = (srcWidth - 2 * border) / 2 + 2 * border; in _mesa_next_mipmap_level_size()
1775 *dstWidth = srcWidth; /* can't go smaller */ in _mesa_next_mipmap_level_size()
1798 if (*dstWidth == srcWidth && in _mesa_next_mipmap_level_size()
1936 GLint srcWidth, srcHeight, srcDepth; in generate_mipmap_uncompressed() local
1946 srcWidth = srcImage->Width; in generate_mipmap_uncompressed()
1972 0, 0, srcWidth, srcHeight, in generate_mipmap_uncompressed()
2006 srcWidth, srcHeight, srcDepth, in generate_mipmap_uncompressed()
2123 GLint srcWidth, srcHeight, srcDepth; in generate_mipmap_compressed() local
2132 srcWidth = srcImage->Width; in generate_mipmap_compressed()
2170 srcWidth, srcHeight, srcDepth, in generate_mipmap_compressed()