Searched refs:blockwidth (Results 1 – 3 of 3) sorted by relevance
59 int blockwidth = util_format_get_blockwidth(format); in util_copy_rect() local63 assert(blockwidth > 0); in util_copy_rect()66 dst_x /= blockwidth; in util_copy_rect()68 width = (width + blockwidth - 1)/blockwidth; in util_copy_rect()70 src_x /= blockwidth; in util_copy_rect()104 int blockwidth = desc->block.width; in util_fill_rect() local108 assert(blockwidth > 0); in util_fill_rect()111 dst_x /= blockwidth; in util_fill_rect()113 width = (width + blockwidth - 1)/blockwidth; in util_fill_rect()
704 unsigned blockwidth = util_format_get_blockwidth(format); in util_format_get_nblocksx() local705 return (x + blockwidth - 1) / blockwidth; in util_format_get_nblocksx()
214 GLuint blockwidth; in get_format_blocksx() local216 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksx()217 return (x + blockwidth - 1) / blockwidth; in get_format_blocksx()224 GLuint blockwidth; in get_format_blocksy() local226 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksy()