Home
last modified time | relevance | path

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

/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
292 dst_bw = util_format_get_blockwidth(dst_format); in util_resource_copy_region()
296 if (src_bw > 1 && dst_bw == 1) { in util_resource_copy_region()
303 else if (src_bw == 1 && dst_bw > 1) { in util_resource_copy_region()
307 dst_box.width *= dst_bw; in util_resource_copy_region()
312 assert(src_bw == dst_bw); in util_resource_copy_region()
331 assert(dst_box.x % dst_bw == 0); in util_resource_copy_region()
333 assert(dst_box.width % dst_bw == 0 || in util_resource_copy_region()
346 (dst_box.width / dst_bw) * (dst_box.height / dst_bh) * dst_bs); in util_resource_copy_region()
/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()
550 dstWidth = srcWidth * dst_bw / src_bw; in _mesa_CopyImageSubData()