Searched refs:src_bw (Results 1 - 2 of 2) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
H A D | copyimage.c | 617 GLuint src_bw, src_bh, dst_bw, dst_bh; in _mesa_CopyImageSubData() local 649 _mesa_get_format_block_size(srcFormat, &src_bw, &src_bh); in _mesa_CopyImageSubData() 673 if ((srcX % src_bw != 0) || (srcY % src_bh != 0) || in _mesa_CopyImageSubData() 674 (srcWidth % src_bw != 0 && (srcX + srcWidth) != src_w) || 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 842 _mesa_get_format_block_size(srcFormat, &src_bw, &src_bh); in _mesa_CopyImageSubDataNV() 843 if ((srcX % src_bw != 0) || (srcY % src_bh != 0) || in _mesa_CopyImageSubDataNV() 844 (srcWidth % src_bw != 0 && (srcX + srcWidth) != src_w) || in _mesa_CopyImageSubDataNV()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_surface.c | 216 unsigned src_bs, dst_bs, src_bw, dst_bw, src_bh, dst_bh; in util_resource_copy_region() local 240 src_bw = util_format_get_blockwidth(src_format); in util_resource_copy_region() 247 if (src_bw > 1 && dst_bw == 1) { in util_resource_copy_region() 251 dst_box.width /= src_bw; in util_resource_copy_region() 254 else if (src_bw == 1 && dst_bw > 1) { in util_resource_copy_region() 263 assert(src_bw == dst_bw); in util_resource_copy_region() 276 assert(src_box.x % src_bw == 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()
|
Completed in 4 milliseconds