Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dcopyimage.c617 GLuint src_bw, src_bh, dst_bw, dst_bh; in _mesa_CopyImageSubData() local
681 _mesa_get_format_block_size(dstFormat, &dst_bw, &dst_bh); in _mesa_CopyImageSubData()
682 if ((dstX % dst_bw != 0) || (dstY % dst_bh != 0)) { in _mesa_CopyImageSubData()
703 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData()
776 GLuint src_bw, src_bh, dst_bw, dst_bh; in _mesa_CopyImageSubDataNV() local
851 _mesa_get_format_block_size(dstFormat, &dst_bw, &dst_bh); in _mesa_CopyImageSubDataNV()
852 if ((dstX % dst_bw != 0) || (dstY % dst_bh != 0)) { in _mesa_CopyImageSubDataNV()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_surface.c216 unsigned src_bs, dst_bs, src_bw, dst_bw, src_bh, dst_bh; in util_resource_copy_region() local
244 dst_bh = util_format_get_blockheight(dst_format); in util_resource_copy_region()
259 dst_box.height *= dst_bh; in util_resource_copy_region()
264 assert(src_bh == dst_bh); in util_resource_copy_region()
279 assert(dst_box.y % dst_bh == 0); in util_resource_copy_region()
289 (dst_box.width / dst_bw) * (dst_box.height / dst_bh) * dst_bs); in util_resource_copy_region()