Lines Matching refs:elsize
6030 int elsize = util_format_get_blocksize(res->base.format); in vrend_renderer_transfer_write_iov() local
6041 …ide = util_format_get_nblocksx(res->base.format, u_minify(res->base.width0, info->level)) * elsize; in vrend_renderer_transfer_write_iov()
6056 info->box->height) * elsize * info->box->depth; in vrend_renderer_transfer_write_iov()
6067 glPixelStorei(GL_UNPACK_ROW_LENGTH, stride / elsize); in vrend_renderer_transfer_write_iov()
6072 switch (elsize) { in vrend_renderer_transfer_write_iov()
6149 … ((info->box->z * level_height + y) * stride + x * elsize); in vrend_renderer_transfer_write_iov()
6245 int elsize = util_format_get_blocksize(res->base.format); in vrend_transfer_send_getteximage() local
6266 switch (elsize) { in vrend_transfer_send_getteximage()
6329 int elsize = util_format_get_blocksize(res->base.format); in vrend_transfer_send_readpixels() local
6331 int row_stride = info->stride / elsize; in vrend_transfer_send_readpixels()
6389 switch (elsize) { in vrend_transfer_send_readpixels()
6837 int elsize = util_format_get_blocksize(dst_res->base.format); in vrend_resource_copy_fallback() local
6883 u_minify(src_res->base.width0, src_level)) * elsize; in vrend_resource_copy_fallback()
6899 switch (elsize) { in vrend_resource_copy_fallback()
6938 switch (elsize) { in vrend_resource_copy_fallback()
8339 int elsize; in vrend_renderer_get_rect() local
8343 elsize = util_format_get_blocksize(res->base.format); in vrend_renderer_get_rect()
8353 transfer_info.stride = util_format_get_nblocksx(res->base.format, res->base.width0) * elsize; in vrend_renderer_get_rect()
8405 int elsize; in vrend_renderer_resource_get_info() local
8413 elsize = util_format_get_blocksize(res->base.format); in vrend_renderer_resource_get_info()
8422 … info->stride = util_format_get_nblocksx(res->base.format, u_minify(res->base.width0, 0)) * elsize; in vrend_renderer_resource_get_info()