Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_rect.c60 int blockheight = util_format_get_blockheight(format); in util_copy_rect() local
64 assert(blockheight > 0); in util_copy_rect()
67 dst_y /= blockheight; in util_copy_rect()
69 height = (height + blockheight - 1)/blockheight; in util_copy_rect()
71 src_y /= blockheight; in util_copy_rect()
105 int blockheight = desc->block.height; in util_fill_rect() local
109 assert(blockheight > 0); in util_fill_rect()
112 dst_y /= blockheight; in util_fill_rect()
114 height = (height + blockheight - 1)/blockheight; in util_fill_rect()
Du_format.h712 unsigned blockheight = util_format_get_blockheight(format); in util_format_get_nblocksy() local
713 return (y + blockheight - 1) / blockheight; in util_format_get_nblocksy()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h215 GLuint blockheight; in get_format_blocksx() local
216 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksx()
225 GLuint blockheight; in get_format_blocksy() local
226 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksy()
227 return (y + blockheight - 1) / blockheight; in get_format_blocksy()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c137 unsigned blockheight = util_format_get_blockheight(st->base.resource->format); in svga_transfer_dma() local
138 h = st->hw_nblocksy * blockheight; in svga_transfer_dma()
148 assert(y % blockheight == 0); in svga_transfer_dma()
149 assert(h % blockheight == 0); in svga_transfer_dma()
151 offset = y * st->base.stride / blockheight; in svga_transfer_dma()
152 length = h * st->base.stride / blockheight; in svga_transfer_dma()