Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dcopyimage.c615 GLuint src_bw, src_bh, dst_bw, dst_bh; in _mesa_CopyImageSubData() local
647 _mesa_get_format_block_size(srcFormat, &src_bw, &src_bh); in _mesa_CopyImageSubData()
671 if ((srcX % src_bw != 0) || (srcY % src_bh != 0) || in _mesa_CopyImageSubData()
673 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { in _mesa_CopyImageSubData()
701 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData()
774 GLuint src_bw, src_bh, dst_bw, dst_bh; in _mesa_CopyImageSubDataNV() local
840 _mesa_get_format_block_size(srcFormat, &src_bw, &src_bh); in _mesa_CopyImageSubDataNV()
841 if ((srcX % src_bw != 0) || (srcY % src_bh != 0) || in _mesa_CopyImageSubDataNV()
843 (srcHeight % src_bh != 0 && (srcY + srcHeight) != src_h)) { 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
241 src_bh = util_format_get_blockheight(src_format); in util_resource_copy_region()
252 dst_box.height /= src_bh; in util_resource_copy_region()
264 assert(src_bh == dst_bh); in util_resource_copy_region()
277 assert(src_box.y % src_bh == 0); in util_resource_copy_region()
288 assert((src_box.width / src_bw) * (src_box.height / src_bh) * src_bs == in util_resource_copy_region()