Home
last modified time | relevance | path

Searched refs:blockheight (Results 1 – 6 of 6) sorted by relevance

/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.c82 int blockheight = util_format_get_blockheight(format); in util_copy_rect() local
86 assert(blockheight > 0); in util_copy_rect()
89 dst_y /= blockheight; in util_copy_rect()
91 height = (height + blockheight - 1)/blockheight; in util_copy_rect()
93 src_y /= blockheight; in util_copy_rect()
161 int blockheight = desc->block.height; in util_fill_rect() local
165 assert(blockheight > 0); in util_fill_rect()
168 dst_y /= blockheight; in util_fill_rect()
170 height = (height + blockheight - 1)/blockheight; in util_fill_rect()
Du_format.h627 unsigned blockheight = util_format_get_blockheight(format); in util_format_get_nblocksy() local
628 return (y + blockheight - 1) / blockheight; in util_format_get_nblocksy()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h218 GLuint blockheight; in get_format_blocksx() local
219 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksx()
228 GLuint blockheight; in get_format_blocksy() local
229 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksy()
230 return (y + blockheight - 1) / blockheight; in get_format_blocksy()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c82 int blockheight = util_format_get_blockheight(format); in util_copy_rect() local
86 assert(blockheight > 0); in util_copy_rect()
89 dst_y /= blockheight; in util_copy_rect()
91 height = (height + blockheight - 1)/blockheight; in util_copy_rect()
93 src_y /= blockheight; in util_copy_rect()
161 int blockheight = desc->block.height; in util_fill_rect() local
165 assert(blockheight > 0); in util_fill_rect()
168 dst_y /= blockheight; in util_fill_rect()
170 height = (height + blockheight - 1)/blockheight; in util_fill_rect()
Du_format.h819 unsigned blockheight = util_format_get_blockheight(format); in util_format_get_nblocksy() local
820 return (y + blockheight - 1) / blockheight; in util_format_get_nblocksy()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c137 unsigned blockheight = in svga_transfer_dma() local
140 h = st->hw_nblocksy * blockheight; in svga_transfer_dma()
151 assert(y % blockheight == 0); in svga_transfer_dma()
152 assert(h % blockheight == 0); in svga_transfer_dma()
154 offset = y * st->base.stride / blockheight; in svga_transfer_dma()
155 length = h * st->base.stride / blockheight; in svga_transfer_dma()