Home
last modified time | relevance | path

Searched refs:dst_bh (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/main/
Dcopyimage.c466 GLuint src_bw, src_bh, dst_bw, dst_bh; in _mesa_CopyImageSubData() local
529 _mesa_get_format_block_size(dstFormat, &dst_bw, &dst_bh); in _mesa_CopyImageSubData()
530 if ((dstX % dst_bw != 0) || (dstY % dst_bh != 0)) { in _mesa_CopyImageSubData()
551 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c265 unsigned src_bs, dst_bs, src_bw, dst_bw, src_bh, dst_bh; in util_resource_copy_region() local
293 dst_bh = util_format_get_blockheight(dst_format); in util_resource_copy_region()
308 dst_box.height *= dst_bh; in util_resource_copy_region()
313 assert(src_bh == dst_bh); in util_resource_copy_region()
332 assert(dst_box.y % dst_bh == 0); in util_resource_copy_region()
335 assert(dst_box.height % dst_bh == 0 || in util_resource_copy_region()
346 (dst_box.width / dst_bw) * (dst_box.height / dst_bh) * dst_bs); in util_resource_copy_region()