Lines Matching refs:dstHeight
1474 GLint dstWidth, GLint dstHeight, in make_2d_mipmap() argument
1480 const GLint dstHeightNB = dstHeight - 2 * border; in make_2d_mipmap()
1487 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap()
1519 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt, in make_2d_mipmap()
1522 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt, in make_2d_mipmap()
1534 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt); in make_2d_mipmap()
1536 if (srcHeight == dstHeight) { in make_2d_mipmap()
1566 GLint dstWidth, GLint dstHeight, GLint dstDepth, in make_3d_mipmap() argument
1573 const GLint dstHeightNB = dstHeight - 2 * border; in make_3d_mipmap()
1582 bytesPerDstImage = dstRowStride * dstHeight * bpt; in make_3d_mipmap()
1588 srcRowOffset = (srcHeight == dstHeight) ? 0 : srcRowStride; in make_3d_mipmap()
1643 dstWidth, dstHeight, dstPtr[0], dstRowStride); in make_3d_mipmap()
1647 dstWidth, dstHeight, dstPtr[dstDepth - 1], dstRowStride); in make_3d_mipmap()
1663 dst = dstPtr[img] + (dstHeight - 1) * dstRowStride; in make_3d_mipmap()
1695 dst = dstPtr[img] + (dstHeight - 1) * dstRowStride; in make_3d_mipmap()
1730 GLint dstWidth, GLint dstHeight, GLint dstDepth, in _mesa_generate_mipmap_level() argument
1751 dstWidth, dstHeight, dstData[0], dstRowStride); in _mesa_generate_mipmap_level()
1757 dstWidth, dstHeight, dstDepth, in _mesa_generate_mipmap_level()
1762 assert(dstHeight == 1); in _mesa_generate_mipmap_level()
1774 dstWidth, dstHeight, dstData[i], dstRowStride); in _mesa_generate_mipmap_level()
1794 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth) in _mesa_next_mipmap_level_size() argument
1806 *dstHeight = (srcHeight - 2 * border) / 2 + 2 * border; in _mesa_next_mipmap_level_size()
1809 *dstHeight = srcHeight; /* can't go smaller */ in _mesa_next_mipmap_level_size()
1824 *dstHeight == srcHeight && in _mesa_next_mipmap_level_size()
1962 GLint dstWidth, dstHeight, dstDepth; in generate_mipmap_uncompressed() local
1982 dstHeight = dstImage->Height; in generate_mipmap_uncompressed()
1987 dstDepth = dstHeight; in generate_mipmap_uncompressed()
1989 dstHeight = 1; in generate_mipmap_uncompressed()
2015 0, 0, dstWidth, dstHeight, in generate_mipmap_uncompressed()
2033 dstWidth, dstHeight, dstDepth, in generate_mipmap_uncompressed()
2149 GLint dstWidth, dstHeight, dstDepth; in generate_mipmap_compressed() local
2168 dstHeight = dstImage->Height; in generate_mipmap_compressed()
2174 dstHeight, 1); in generate_mipmap_compressed()
2198 dstWidth, dstHeight, dstDepth, in generate_mipmap_compressed()
2203 0, 0, 0, dstWidth, dstHeight, dstDepth, in generate_mipmap_compressed()