Home
last modified time | relevance | path

Searched refs:nblocksy (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/freedreno/fdl/
Dfd5_layout.c67 uint32_t nblocksy = util_format_get_nblocksy(format, u_minify(height0, level)); in fdl5_layout() local
70 nblocksy = align(nblocksy, heightalign); in fdl5_layout()
80 nblocksy = align(nblocksy, 32); in fdl5_layout()
96 slice->size0 = align(nblocksy * pitch, alignment); in fdl5_layout()
98 slice->size0 = align(nblocksy * pitch, alignment); in fdl5_layout()
Dfd6_layout.c202 uint32_t nblocksy = util_format_get_nblocksy(format, height); in fdl6_layout() local
204 nblocksy = align(nblocksy, heightalign); in fdl6_layout()
214 nblocksy = align(nblocksy, 4); in fdl6_layout()
226 slice->size0 = align(nblocksy * pitch, 4096); in fdl6_layout()
231 slice->size0 = nblocksy * pitch; in fdl6_layout()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_resource.c43 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()
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c143 tex->image_offset[level][0].nblocksy = 0; in i915_texture_set_level_info()
152 y = tex->image_offset[level][layer].nblocksy; in i915_texture_offset()
160 unsigned nblocksx, unsigned nblocksy) in i915_texture_set_image_offset() argument
163 assert(!(img == 0 && level == 0) || (nblocksx == 0 && nblocksy == 0)); in i915_texture_set_image_offset()
167 tex->image_offset[level][img].nblocksy = nblocksy; in i915_texture_set_image_offset()
339 unsigned nblocksy = util_format_get_nblocksy(pt->format, width); in i915_texture_layout_2d() local
352 tex->total_nblocksy += nblocksy; in i915_texture_layout_2d()
356 nblocksy = align_nblocksy(pt->format, height, align_y); in i915_texture_layout_2d()
369 unsigned nblocksy = util_format_get_nblocksy(pt->format, height); in i915_texture_layout_3d() local
381 stack_nblocksy += MAX2(2, nblocksy); in i915_texture_layout_3d()
[all …]
Di915_resource.h63 unsigned short nblocksy; member
Di915_state_static.c115 y = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksy; in update_framebuffer()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_resource.c51 uint32_t nblocksy = util_format_get_nblocksy(format, height); in setup_slices() local
63 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices()
65 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_transfer.c12 uint32_t nblocksy; member
58 uint32_t nblocksx, uint32_t nblocksy) in nv50_m2mf_transfer_rect() argument
65 uint32_t height = nblocksy; in nv50_m2mf_transfer_rect()
276 tx->nblocksy = box->height << mt->ms_y; in nv50_miptree_transfer_map()
279 tx->nblocksy = util_format_get_nblocksy(res->format, box->height); in nv50_miptree_transfer_map()
283 tx->base.layer_stride = tx->nblocksy * tx->base.stride; in nv50_miptree_transfer_map()
298 tx->rect[1].height = tx->nblocksy; in nv50_miptree_transfer_map()
309 tx->nblocksx, tx->nblocksy); in nv50_miptree_transfer_map()
354 tx->nblocksx, tx->nblocksy); in nv50_miptree_transfer_unmap()
359 tx->rect[1].base += tx->nblocksy * tx->base.stride; in nv50_miptree_transfer_unmap()
Dnv50_context.h278 uint32_t nblocksx, uint32_t nblocksy);
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_transfer.c10 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 …]
Dnvc0_context.h187 uint32_t nblocksx, uint32_t nblocksy);
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_resource.c60 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()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c305 unsigned nblocksx, nblocksy; in svga_texture_transfer_map_dma() local
311 nblocksy = util_format_get_nblocksy(texture->format, st->box.h); in svga_texture_transfer_map_dma()
315 st->base.layer_stride = st->base.stride * nblocksy; in svga_texture_transfer_map_dma()
316 st->hw_nblocksy = nblocksy; in svga_texture_transfer_map_dma()
330 if (st->hw_nblocksy < nblocksy) { in svga_texture_transfer_map_dma()
338 (nblocksy * st->base.stride + 1023) / 1024, in svga_texture_transfer_map_dma()
339 (nblocksy + st->hw_nblocksy - 1) / st->hw_nblocksy, in svga_texture_transfer_map_dma()
343 st->swbuf = MALLOC(nblocksy * st->base.stride * d); in svga_texture_transfer_map_dma()
378 unsigned w, h, nblocksx, nblocksy, i; in svga_texture_transfer_map_direct() local
426 nblocksy = util_format_get_nblocksy(texture->format, h); in svga_texture_transfer_map_direct()
[all …]
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c128 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()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c67 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()
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c399 unsigned nblocksy, size; in xlib_displaytarget_create() local
411 nblocksy = util_format_get_nblocksy(format, height); in xlib_displaytarget_create()
413 size = xlib_dt->stride * nblocksy; in xlib_displaytarget_create()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c217 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()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_texture.c95 unsigned align_x, align_y, nblocksx, nblocksy, block_size, num_slices; in llvmpipe_texture_layout() local
119 nblocksy = util_format_get_nblocksy(pt->format, in llvmpipe_texture_layout()
129 if ((uint64_t)lpr->row_stride[level] * nblocksy > LP_MAX_TEXTURE_SIZE) { in llvmpipe_texture_layout()
134 lpr->img_stride[level] = lpr->row_stride[level] * nblocksy; in llvmpipe_texture_layout()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.c465 unsigned level, nblocksy; in virgl_resource_layout() local
481 nblocksy = util_format_get_nblocksy(pt->format, height); in virgl_resource_layout()
484 metadata->layer_stride[level] = nblocksy * metadata->stride[level]; in virgl_resource_layout()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c79 unsigned nblocksy; member
300 tx->nblocksy = util_format_get_nblocksy(pt->format, box->height); in nv30_miptree_transfer_map()
319 tx->tmp.h = tx->nblocksy; in nv30_miptree_transfer_map()
/external/virglrenderer/src/
Dvrend_renderer.c7351 int nblocksy = util_format_get_nblocksy(pres->format, h); in vrend_transfer_size() local
7362 size += (nblocksy - 1) * stride; in vrend_transfer_size()