Home
last modified time | relevance | path

Searched refs:util_format_get_nblocksx (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c592 new_width = util_format_get_nblocksx(tex->format, orig->width0); in r600_compressed_to_blittable()
598 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x); in r600_compressed_to_blittable()
600 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x); in r600_compressed_to_blittable()
618 tex->width0 = util_format_get_nblocksx(orig->format, orig->width0); in r600_subsampled_2x1_32bpp_to_blittable()
620 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x); in r600_subsampled_2x1_32bpp_to_blittable()
621 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x); in r600_subsampled_2x1_32bpp_to_blittable()
715 sbox.x = util_format_get_nblocksx(orig_info[0].format, src_box->x); in r600_resource_copy_region()
718 sbox.width = util_format_get_nblocksx(orig_info[0].format, src_box->width); in r600_resource_copy_region()
726 dstx = util_format_get_nblocksx(orig_info[1].format, dstx); in r600_resource_copy_region()
736 sbox.x = util_format_get_nblocksx(orig_info[0].format, src_box->x); in r600_resource_copy_region()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_blit.c290 new_width = util_format_get_nblocksx(tex->format, orig->width0); in r600_compressed_to_blittable()
296 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x); in r600_compressed_to_blittable()
298 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x); in r600_compressed_to_blittable()
349 sbox.x = util_format_get_nblocksx(orig_info[0].format, src_box->x); in r600_resource_copy_region()
352 sbox.width = util_format_get_nblocksx(orig_info[0].format, src_box->width); in r600_resource_copy_region()
363 dstx = util_format_get_nblocksx(orig_info[1].format, dstx); in r600_resource_copy_region()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_miptree.c96 rect->w = util_format_get_nblocksx(pt->format, rect->w); in define_rect()
116 rect->x0 = util_format_get_nblocksx(pt->format, x) << mt->ms_x; in define_rect()
178 tx->base.stride = util_format_get_nblocksx(pt->format, box->width) * in nv30_miptree_transfer_new()
183 tx->nblocksx = util_format_get_nblocksx(pt->format, box->width); in nv30_miptree_transfer_new()
314 mt->uniform_pitch = util_format_get_nblocksx(pt->format, w) * blocksz; in nv30_miptree_create()
324 unsigned nbx = util_format_get_nblocksx(pt->format, w); in nv30_miptree_create()
325 unsigned nby = util_format_get_nblocksx(pt->format, h); in nv30_miptree_create()
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c95 return align(util_format_get_nblocksx(format, width), align_to); in align_nblocksx()
298 const unsigned nblocks = util_format_get_nblocksx(pt->format, pt->width0); in i9x5_texture_layout_cube()
444 unsigned nblocksx = util_format_get_nblocksx(pt->format, pt->width0); in i945_texture_layout_2d()
462 util_format_get_nblocksx(pt->format, u_minify(pt->width0, 2)); in i945_texture_layout_2d()
556 const unsigned nblocks = util_format_get_nblocksx(pt->format, pt->width0); in i945_texture_layout_cube()
607 util_format_get_nblocksx(pt->format, x), in i945_texture_layout_cube()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format.h701 util_format_get_nblocksx(enum pipe_format format, in util_format_get_nblocksx() function
721 return util_format_get_nblocksx(format, width) * util_format_get_nblocksy(format, height); in util_format_get_nblocks()
728 return util_format_get_nblocksx(format, width) * util_format_get_blocksize(format); in util_format_get_stride()
Du_debug.c531 util_format_get_nblocksx(texture->format, surface->width), in debug_dump_surface()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_miptree.c192 unsigned nbx = util_format_get_nblocksx(pt->format, pt->width0); in nvc0_miptree_init_layout_video()
231 unsigned nbx = util_format_get_nblocksx(pt->format, w); in nvc0_miptree_init_layout_tiled()
Dnvc0_transfer.c360 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nvc0_miptree_transfer_new()
Dnvc0_surface.c230 unsigned nx = util_format_get_nblocksx(src->format, src_box->width); in nvc0_resource_copy_region()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_transfer.c34 rect->width = util_format_get_nblocksx(res->format, w); in nv50_m2mf_rect_setup()
36 rect->x = util_format_get_nblocksx(res->format, x); in nv50_m2mf_rect_setup()
280 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nv50_miptree_transfer_new()
Dnv50_miptree.c226 unsigned nbx = util_format_get_nblocksx(pt->format, w); in nv50_miptree_init_layout_tiled()
Dnv50_surface.c223 unsigned nx = util_format_get_nblocksx(src->format, src_box->width); in nv50_resource_copy_region()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c209 stride = util_format_get_nblocksx(texture->format, texture->width0) * in svga_texture_get_handle()
250 unsigned nblocksx = util_format_get_nblocksx(texture->format, box->width); in svga_texture_get_transfer()
/external/mesa3d/src/gallium/drivers/trace/
Dtr_dump.c473 size = util_format_get_nblocksx(format, box->width) * util_format_get_blocksize(format); in trace_dump_box_bytes()
/external/mesa3d/src/gallium/tests/trivial/
Dcompute.c194 util_format_get_nblocksx(format, w)); in init_tex()
238 util_format_get_nblocksx(tex->format, tex->width0)); in check_tex()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_texture.c134 nblocksx = util_format_get_nblocksx(pt->format, in llvmpipe_texture_layout()
807 util_format_get_nblocksx(format, align(width, TILE_SIZE)); in tex_image_face_size()