/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 143 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 …]
|
D | i915_resource.h | 63 unsigned short nblocksy; member
|
D | i915_state_static.c | 115 y = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksy; in update_framebuffer()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_transfer.c | 12 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()
|
D | nv50_context.h | 276 uint32_t nblocksx, uint32_t nblocksy);
|
/external/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() 410 tx->nblocksy = box->height << mt->ms_y; in nvc0_miptree_transfer_map() 413 tx->nblocksy = util_format_get_nblocksy(res->format, box->height); in nvc0_miptree_transfer_map() 431 tx->base.layer_stride = tx->nblocksy * tx->base.stride; in nvc0_miptree_transfer_map() 447 tx->rect[1].height = tx->nblocksy; in nvc0_miptree_transfer_map() 458 tx->nblocksx, tx->nblocksy); in nvc0_miptree_transfer_map() [all …]
|
D | nvc0_context.h | 179 uint32_t nblocksx, uint32_t nblocksy);
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_texture.c | 344 unsigned nblocksx, nblocksy; in svga_texture_transfer_map_dma() local 350 nblocksy = util_format_get_nblocksy(texture->format, st->base.box.height); in svga_texture_transfer_map_dma() 354 st->base.layer_stride = st->base.stride * nblocksy; in svga_texture_transfer_map_dma() 355 st->hw_nblocksy = nblocksy; in svga_texture_transfer_map_dma() 369 if (st->hw_nblocksy < nblocksy) { in svga_texture_transfer_map_dma() 377 (nblocksy * st->base.stride + 1023) / 1024, in svga_texture_transfer_map_dma() 378 (nblocksy + st->hw_nblocksy - 1) / st->hw_nblocksy, in svga_texture_transfer_map_dma() 382 st->swbuf = MALLOC(nblocksy * st->base.stride * d); in svga_texture_transfer_map_dma() 417 unsigned w, h, nblocksx, nblocksy, i; in svga_texture_transfer_map_direct() local 468 nblocksy = util_format_get_nblocksy(texture->format, h); in svga_texture_transfer_map_direct() [all …]
|
/external/mesa3d/src/gallium/winsys/sw/dri/ |
D | dri_sw_winsys.c | 92 unsigned nblocksy, size, format_stride; in dri_sw_displaytarget_create() local 106 nblocksy = util_format_get_nblocksy(format, height); in dri_sw_displaytarget_create() 107 size = dri_sw_dt->stride * nblocksy; in dri_sw_displaytarget_create()
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_texture.c | 103 const unsigned nblocksy = util_format_get_nblocksy(pres->format, hgt); in vrend_get_tex_image_offset() local 110 offset += layer * nblocksy * res->stride[level]; in vrend_get_tex_image_offset() 139 const unsigned nblocksy = util_format_get_nblocksy(format, h); in virgl_texture_transfer_map() local 157 trans->base.layer_stride = trans->base.stride * nblocksy; in virgl_texture_transfer_map()
|
/external/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()
|
/external/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 398 unsigned nblocksy, size; in xlib_displaytarget_create() local 409 nblocksy = util_format_get_nblocksy(format, height); in xlib_displaytarget_create() 411 size = xlib_dt->stride * nblocksy; in xlib_displaytarget_create()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_texture.c | 93 unsigned align_x, align_y, nblocksx, nblocksy, block_size, num_slices; in llvmpipe_texture_layout() local 117 nblocksy = util_format_get_nblocksy(pt->format, in llvmpipe_texture_layout() 127 if ((uint64_t)lpr->row_stride[level] * nblocksy > LP_MAX_TEXTURE_SIZE) { in llvmpipe_texture_layout() 132 lpr->img_stride[level] = lpr->row_stride[level] * nblocksy; in llvmpipe_texture_layout()
|
/external/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()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 79 unsigned nblocksy; member 285 tx->nblocksy = util_format_get_nblocksy(pt->format, box->height); in nv30_miptree_transfer_map() 288 tx->nblocksx, tx->nblocksy, &tx->img); in nv30_miptree_transfer_map() 303 tx->tmp.h = tx->nblocksy; in nv30_miptree_transfer_map()
|