Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c727 dst_width = util_format_get_nblocksx(dst->format, dst_width); in r600_resource_copy_region()
729 src_width0 = util_format_get_nblocksx(src->format, src_width0); in r600_resource_copy_region()
731 src_widthFL = util_format_get_nblocksx(src->format, src_widthFL); in r600_resource_copy_region()
734 dstx = util_format_get_nblocksx(dst->format, dstx); in r600_resource_copy_region()
737 sbox.x = util_format_get_nblocksx(src->format, src_box->x); in r600_resource_copy_region()
740 sbox.width = util_format_get_nblocksx(src->format, src_box->width); in r600_resource_copy_region()
752 dst_width = util_format_get_nblocksx(dst->format, dst_width); in r600_resource_copy_region()
753 src_width0 = util_format_get_nblocksx(src->format, src_width0); in r600_resource_copy_region()
754 src_widthFL = util_format_get_nblocksx(src->format, src_widthFL); in r600_resource_copy_region()
756 dstx = util_format_get_nblocksx(dst->format, dstx); in r600_resource_copy_region()
[all …]
Dr600_texture.c1581 unsigned nblks_x = util_format_get_nblocksx(tex->format, width); in r600_create_surface()
1587 width0 = util_format_get_nblocksx(tex->format, width0); in r600_create_surface()
Dr600_state.c2978 src_x = util_format_get_nblocksx(src->format, src_box->x); in r600_dma_copy()
2979 dst_x = util_format_get_nblocksx(src->format, dst_x); in r600_dma_copy()
Devergreen_state.c3920 src_x = util_format_get_nblocksx(src->format, src_box->x); in evergreen_dma_copy()
3921 dst_x = util_format_get_nblocksx(src->format, dst_x); in evergreen_dma_copy()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c907 dst_width = util_format_get_nblocksx(dst->format, dst_width); in si_resource_copy_region()
909 dst_width0 = util_format_get_nblocksx(dst->format, dst_width0); in si_resource_copy_region()
911 src_width0 = util_format_get_nblocksx(src->format, src_width0); in si_resource_copy_region()
914 dstx = util_format_get_nblocksx(dst->format, dstx); in si_resource_copy_region()
917 sbox.x = util_format_get_nblocksx(src->format, src_box->x); in si_resource_copy_region()
920 sbox.width = util_format_get_nblocksx(src->format, src_box->width); in si_resource_copy_region()
931 dst_width = util_format_get_nblocksx(dst->format, dst_width); in si_resource_copy_region()
932 dst_width0 = util_format_get_nblocksx(dst->format, dst_width0); in si_resource_copy_region()
933 src_width0 = util_format_get_nblocksx(src->format, src_width0); in si_resource_copy_region()
935 dstx = util_format_get_nblocksx(dst->format, dstx); in si_resource_copy_region()
[all …]
Dsi_texture.c173 sbox.width = util_format_get_nblocksx(dst->format, sbox.width); in si_copy_from_staging_texture()
174 sbox.height = util_format_get_nblocksx(dst->format, sbox.height); in si_copy_from_staging_texture()
1588 res->width0 = util_format_get_nblocksx(orig->format, box->width); in si_init_temp_resource_from_box()
1948 unsigned nblks_x = util_format_get_nblocksx(tex->format, width); in si_create_surface()
1954 width0 = util_format_get_nblocksx(tex->format, width0); in si_create_surface()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c97 rect->w = util_format_get_nblocksx(pt->format, rect->w); in define_rect()
117 rect->x0 = util_format_get_nblocksx(pt->format, x) << mt->ms_x; in define_rect()
119 rect->x1 = rect->x0 + (util_format_get_nblocksx(pt->format, w) << mt->ms_x); in define_rect()
294 tx->base.stride = align(util_format_get_nblocksx(pt->format, box->width) * in nv30_miptree_transfer_map()
299 tx->nblocksx = util_format_get_nblocksx(pt->format, box->width); in nv30_miptree_transfer_map()
453 mt->uniform_pitch = util_format_get_nblocksx(pt->format, w) * blocksz; in nv30_miptree_create()
477 unsigned nbx = util_format_get_nblocksx(pt->format, w); 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()
299 const unsigned nblocks = util_format_get_nblocksx(pt->format, width); in i9x5_texture_layout_cube()
445 unsigned nblocksx = util_format_get_nblocksx(pt->format, width); in i945_texture_layout_2d()
463 util_format_get_nblocksx(pt->format, u_minify(width, 2)); in i945_texture_layout_2d()
558 const unsigned nblocks = util_format_get_nblocksx(pt->format, width); in i945_texture_layout_cube()
608 util_format_get_nblocksx(pt->format, x), in i945_texture_layout_cube()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_format.h616 util_format_get_nblocksx(enum pipe_format format, in util_format_get_nblocksx() function
636 return util_format_get_nblocksx(format, width) * util_format_get_nblocksy(format, height); in util_format_get_nblocks()
643 return util_format_get_nblocksx(format, width) * util_format_get_blocksize(format); in util_format_get_stride()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_transfer.c36 rect->width = util_format_get_nblocksx(res->format, w); in nv50_m2mf_rect_setup()
38 rect->x = util_format_get_nblocksx(res->format, x); in nv50_m2mf_rect_setup()
278 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nv50_miptree_transfer_map()
Dnv50_miptree.c306 unsigned nbx = util_format_get_nblocksx(pt->format, w); in nv50_miptree_init_layout_tiled()
Dnv50_surface.c228 unsigned nx = util_format_get_nblocksx(src->format, src_box->width) in nv50_resource_copy_region()
/external/mesa3d/src/freedreno/fdl/
Dfreedreno_layout.h249 uint32_t nblocksx = util_format_get_nblocksx(layout->format, layout->width0); in fdl_set_pitchalign()
/external/mesa3d/src/util/format/
Du_format.h836 util_format_get_nblocksx(enum pipe_format format, in util_format_get_nblocksx() function
865 return util_format_get_nblocksx(format, width) * util_format_get_nblocksy(format, height); in util_format_get_nblocks()
872 return (size_t)util_format_get_nblocksx(format, width) * util_format_get_blocksize(format); in util_format_get_stride()
/external/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_dump.c457 size = util_format_get_nblocksx(format, box->width ) * util_format_get_blocksize(format) in trace_dump_box_bytes()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c210 stride = util_format_get_nblocksx(texture->format, texture->width0) * in svga_texture_get_handle()
310 nblocksx = util_format_get_nblocksx(texture->format, st->box.w); in svga_texture_transfer_map_dma()
425 nblocksx = util_format_get_nblocksx(texture->format, w); in svga_texture_transfer_map_direct()
1405 nblocksx = util_format_get_nblocksx(texture->format, st->base.box.width); in svga_texture_transfer_map_upload()
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_image.c126 util_format_get_nblocksx(texture->format, surface->width), in debug_dump_surface()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c261 unsigned nbx = util_format_get_nblocksx(pt->format, w); in nvc0_miptree_init_layout_tiled()
Dnvc0_transfer.c415 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nvc0_miptree_transfer_map()
Dnvc0_surface.c239 unsigned nx = util_format_get_nblocksx(src->format, src_box->width) in nvc0_resource_copy_region()
/external/mesa3d/src/gallium/tests/trivial/
Dcompute.c197 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.c117 nblocksx = util_format_get_nblocksx(pt->format, in llvmpipe_texture_layout()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_screen.cpp729 res->swr.qpitch = util_format_get_nblocksx(fmt, width); in swr_texture_layout()
/external/virglrenderer/src/
Dvrend_renderer.c5825 uint32_t bwx = util_format_get_nblocksx(res->format, box->width) * blsize; in read_transfer_data()
5868 uint32_t bwx = util_format_get_nblocksx(res->format, box->width) * blsize; in write_transfer_data()
5871 …uint32_t stride = dst_stride ? dst_stride : util_format_get_nblocksx(res->format, u_minify(res->wi… in write_transfer_data()
6041 …stride = util_format_get_nblocksx(res->base.format, u_minify(res->base.width0, info->level)) * els… in vrend_renderer_transfer_write_iov()
6358 … row_stride = util_format_get_nblocksx(res->base.format, u_minify(res->base.width0, info->level)); in vrend_transfer_send_readpixels()
6882 src_stride = util_format_get_nblocksx(src_res->base.format, in vrend_resource_copy_fallback()
8353 transfer_info.stride = util_format_get_nblocksx(res->base.format, res->base.width0) * elsize; in vrend_renderer_get_rect()
8422 … info->stride = util_format_get_nblocksx(res->base.format, u_minify(res->base.width0, 0)) * elsize; in vrend_renderer_resource_get_info()