Home
last modified time | relevance | path

Searched refs:dst_bw (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()
702 dstWidth = srcWidth * dst_bw / src_bw; 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
243 dst_bw = util_format_get_blockwidth(dst_format); in util_resource_copy_region()
247 if (src_bw > 1 && dst_bw == 1) { in util_resource_copy_region()
254 else if (src_bw == 1 && dst_bw > 1) { in util_resource_copy_region()
258 dst_box.width *= dst_bw; in util_resource_copy_region()
263 assert(src_bw == dst_bw); in util_resource_copy_region()
278 assert(dst_box.x % dst_bw == 0); in util_resource_copy_region()
289 (dst_box.width / dst_bw) * (dst_box.height / dst_bh) * dst_bs); in util_resource_copy_region()