/third_party/mesa3d/src/freedreno/fdl/ |
D | fd5_layout.c | 68 uint32_t nblocksy = in fdl5_layout() local 72 nblocksy = align(nblocksy, heightalign); in fdl5_layout() 82 nblocksy = align(nblocksy, 32); in fdl5_layout() 95 slice->size0 = align(nblocksy * pitch, 4096); in fdl5_layout() 100 slice->size0 = nblocksy * pitch; in fdl5_layout()
|
D | fd6_layout.c | 203 uint32_t nblocksy = util_format_get_nblocksy(format, height); in fdl6_layout() local 205 nblocksy = align(nblocksy, heightalign); in fdl6_layout() 215 nblocksy = align(nblocksy, 4); in fdl6_layout() 226 slice->size0 = align(nblocksy * pitch, 4096); in fdl6_layout() 238 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout() 244 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout() 251 slice->size0 = nblocksy * pitch; in fdl6_layout()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 130 tex->image_offset[level][0].nblocksy = 0; in i915_texture_set_level_info() 140 y = tex->image_offset[level][layer].nblocksy; in i915_texture_offset() 148 unsigned nblocksy) in i915_texture_set_image_offset() argument 151 assert(!(img == 0 && level == 0) || (nblocksx == 0 && nblocksy == 0)); in i915_texture_set_image_offset() 155 tex->image_offset[level][img].nblocksy = nblocksy; in i915_texture_set_image_offset() 367 unsigned nblocksy = util_format_get_nblocksy(pt->format, width); in i915_texture_layout_2d() local 380 tex->total_nblocksy += nblocksy; in i915_texture_layout_2d() 384 nblocksy = align_nblocksy(pt->format, height, align_y); in i915_texture_layout_2d() 397 unsigned nblocksy = util_format_get_nblocksy(pt->format, height); in i915_texture_layout_3d() local 409 stack_nblocksy += MAX2(2, nblocksy); in i915_texture_layout_3d() [all …]
|
D | i915_resource.h | 58 unsigned short nblocksy; member
|
D | i915_state_static.c | 98 y = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksy; in update_framebuffer()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_resource.c | 43 uint32_t nblocksy = align(u_minify(height0, level), 32); in fd2_setup_slices() local 47 nblocksy = util_next_power_of_two(nblocksy); in fd2_setup_slices() 50 slice->size0 = align(pitch * nblocksy, 4096); in fd2_setup_slices()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_transfer.c | 12 uint32_t nblocksy; member 61 uint32_t nblocksx, uint32_t nblocksy) in nv50_2d_transfer_rect() argument 148 PUSH_DATA (push, nblocksy); in nv50_2d_transfer_rect() 167 uint32_t nblocksx, uint32_t nblocksy) in nv50_m2mf_transfer_rect() argument 174 uint32_t height = nblocksy; in nv50_m2mf_transfer_rect() 193 nv50_2d_transfer_rect(nv50, dst, src, nblocksx, nblocksy); in nv50_m2mf_transfer_rect() 401 tx->nblocksy = box->height << mt->ms_y; in nv50_miptree_transfer_map() 404 tx->nblocksy = util_format_get_nblocksy(res->format, box->height); in nv50_miptree_transfer_map() 408 tx->base.layer_stride = tx->nblocksy * tx->base.stride; in nv50_miptree_transfer_map() 423 tx->rect[1].height = tx->nblocksy; in nv50_miptree_transfer_map() [all …]
|
D | nv50_context.h | 322 uint32_t nblocksx, uint32_t nblocksy);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_resource.c | 48 uint32_t nblocksy = util_format_get_nblocksy(format, height); in setup_slices() local 60 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices() 62 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_transfer.c | 10 uint16_t nblocksy; member 18 uint32_t nblocksx, uint32_t nblocksy) in nvc0_m2mf_transfer_rect() argument 25 uint32_t height = nblocksy; in nvc0_m2mf_transfer_rect() 113 uint32_t nblocksx, uint32_t nblocksy) in nve4_m2mf_transfer_rect() argument 190 PUSH_DATA (push, nblocksy); in nve4_m2mf_transfer_rect() 413 tx->nblocksy = box->height << mt->ms_y; in nvc0_miptree_transfer_map() 416 tx->nblocksy = util_format_get_nblocksy(res->format, box->height); in nvc0_miptree_transfer_map() 434 tx->base.layer_stride = tx->nblocksy * tx->base.stride; in nvc0_miptree_transfer_map() 450 tx->rect[1].height = tx->nblocksy; in nvc0_miptree_transfer_map() 461 tx->nblocksx, tx->nblocksy); in nvc0_miptree_transfer_map() [all …]
|
D | nvc0_context.h | 187 uint32_t nblocksx, uint32_t nblocksy);
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_texture.c | 264 unsigned nblocksx, nblocksy; in svga_texture_transfer_map_dma() local 270 nblocksy = util_format_get_nblocksy(texture->format, st->box.h); in svga_texture_transfer_map_dma() 274 st->base.layer_stride = st->base.stride * nblocksy; in svga_texture_transfer_map_dma() 275 st->hw_nblocksy = nblocksy; in svga_texture_transfer_map_dma() 289 if (st->hw_nblocksy < nblocksy) { in svga_texture_transfer_map_dma() 297 (nblocksy * st->base.stride + 1023) / 1024, in svga_texture_transfer_map_dma() 298 (nblocksy + st->hw_nblocksy - 1) / st->hw_nblocksy, in svga_texture_transfer_map_dma() 302 st->swbuf = MALLOC(nblocksy * st->base.stride * d); in svga_texture_transfer_map_dma() 337 unsigned w, h, nblocksx, nblocksy; in svga_texture_transfer_map_direct() local 377 nblocksy = util_format_get_nblocksy(texture->format, h); in svga_texture_transfer_map_direct() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_resource.c | 60 uint32_t nblocksy = util_format_get_nblocksy(format, height); in fd4_setup_slices() local 73 slice->size0 = align(nblocksy * pitch, alignment); in fd4_setup_slices()
|
/third_party/mesa3d/src/gallium/winsys/sw/dri/ |
D | dri_sw_winsys.c | 128 unsigned nblocksy, size, format_stride; in dri_sw_displaytarget_create() local 142 nblocksy = util_format_get_nblocksy(format, height); in dri_sw_displaytarget_create() 143 size = dri_sw_dt->stride * nblocksy; in dri_sw_displaytarget_create()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_texture.c | 67 unsigned slices, nblocksy; in softpipe_resource_layout() local 69 nblocksy = util_format_get_nblocksy(pt->format, height); in softpipe_resource_layout() 84 if ((uint64_t)spr->stride[level] * nblocksy > SP_MAX_TEXTURE_SIZE) { in softpipe_resource_layout() 89 spr->img_stride[level] = spr->stride[level] * nblocksy; in softpipe_resource_layout()
|
/third_party/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 409 unsigned nblocksy, size; in xlib_displaytarget_create() local 421 nblocksy = util_format_get_nblocksy(format, height); in xlib_displaytarget_create() 423 size = xlib_dt->stride * nblocksy; in xlib_displaytarget_create()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 217 unsigned stride, size, layer_size, nblocksy, i; in r300_setup_miptree() local 241 nblocksy = r300_texture_get_nblocksy(tex, i, &aligned_for_cbzb); in r300_setup_miptree() 243 nblocksy = r300_texture_get_nblocksy(tex, i, NULL); in r300_setup_miptree() 245 layer_size = stride * nblocksy; in r300_setup_miptree()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 84 unsigned nblocksy; member 305 tx->nblocksy = util_format_get_nblocksy(pt->format, box->height); in nv30_miptree_transfer_map() 324 tx->tmp.h = tx->nblocksy; in nv30_miptree_transfer_map()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_texture.c | 100 unsigned align_x, align_y, nblocksx, nblocksy, block_size, num_slices; in llvmpipe_texture_layout() local 124 nblocksy = util_format_get_nblocksy(pt->format, in llvmpipe_texture_layout() 133 lpr->img_stride[level] = (uint64_t)lpr->row_stride[level] * nblocksy; in llvmpipe_texture_layout()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_resource.c | 596 unsigned level, nblocksy; in virgl_resource_layout() local 612 nblocksy = util_format_get_nblocksy(pt->format, height); in virgl_resource_layout() 615 metadata->layer_stride[level] = nblocksy * metadata->stride[level]; in virgl_resource_layout()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_image.c | 554 unsigned nblocksy = DIV_ROUND_UP(DIV_ROUND_UP(height, 8), 4); in tu_image_init() local 557 image->lrz_fc_size = DIV_ROUND_UP(nblocksx * nblocksy, 8); in tu_image_init()
|