Home
last modified time | relevance | path

Searched refs:blockwidth (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_rect.c59 int blockwidth = util_format_get_blockwidth(format); in util_copy_rect() local
63 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() local
108 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()
Du_format.h704 unsigned blockwidth = util_format_get_blockwidth(format); in util_format_get_nblocksx() local
705 return (x + blockwidth - 1) / blockwidth; in util_format_get_nblocksx()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h214 GLuint blockwidth; in get_format_blocksx() local
216 _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() local
226 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksy()