| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/ |
| H A D | fd2_resource.c | 43 uint32_t nblocksy = align(u_minify(height0, level), 32); local in function:fd2_setup_slices 47 nblocksy = util_next_power_of_two(nblocksy); 50 slice->size0 = align(pitch * nblocksy, 4096);
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/fdl/ |
| H A D | fd5_layout.c | 67 uint32_t nblocksy = local in function:fdl5_layout 71 nblocksy = align(nblocksy, heightalign); 81 nblocksy = align(nblocksy, 32); 96 slice->size0 = align(nblocksy * pitch, alignment); 98 slice->size0 = align(nblocksy * pitch, alignment);
|
| H A D | fd6_layout.c | 201 uint32_t nblocksy = util_format_get_nblocksy(format, height); local in function:fdl6_layout 203 nblocksy = align(nblocksy, heightalign); 213 nblocksy = align(nblocksy, 4); 225 slice->size0 = align(nblocksy * pitch, 4096); 230 slice->size0 = nblocksy * pitch;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_resource.c | 52 uint32_t nblocksy = util_format_get_nblocksy(format, height); local in function:setup_slices 64 slice->size0 = align(nblocksy * pitch, alignment); 66 slice->size0 = align(nblocksy * pitch, alignment);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_resource.c | 60 uint32_t nblocksy = util_format_get_nblocksy(format, height); local in function:fd4_setup_slices 73 slice->size0 = align(nblocksy * pitch, alignment);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/ |
| H A D | i915_resource_texture.c | 143 tex->image_offset[level][0].nblocksy = 0; 152 y = tex->image_offset[level][layer].nblocksy; 160 unsigned nblocksx, unsigned nblocksy) 163 assert(!(img == 0 && level == 0) || (nblocksx == 0 && nblocksy == 0)); 167 tex->image_offset[level][img].nblocksy = nblocksy; 339 unsigned nblocksy = util_format_get_nblocksy(pt->format, width); local in function:i915_texture_layout_2d 352 tex->total_nblocksy += nblocksy; 356 nblocksy = align_nblocksy(pt->format, height, align_y); 369 unsigned nblocksy local in function:i915_texture_layout_3d 158 i915_texture_set_image_offset(struct i915_texture * tex,unsigned level,unsigned img,unsigned nblocksx,unsigned nblocksy) argument 446 unsigned nblocksy = util_format_get_nblocksy(pt->format, height); local in function:i945_texture_layout_2d 505 unsigned nblocksy = util_format_get_nblocksy(pt->format, width); local in function:i945_texture_layout_3d [all...] |
| H A D | i915_resource.h | 63 unsigned short nblocksy; member in struct:offset_pair
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/ |
| H A D | i915_resource_texture.c | 130 tex->image_offset[level][0].nblocksy = 0; 140 y = tex->image_offset[level][layer].nblocksy; 148 unsigned nblocksy) 151 assert(!(img == 0 && level == 0) || (nblocksx == 0 && nblocksy == 0)); 155 tex->image_offset[level][img].nblocksy = nblocksy; 367 unsigned nblocksy = util_format_get_nblocksy(pt->format, width); local in function:i915_texture_layout_2d 380 tex->total_nblocksy += nblocksy; 384 nblocksy = align_nblocksy(pt->format, height, align_y); 397 unsigned nblocksy local in function:i915_texture_layout_3d 146 i915_texture_set_image_offset(struct i915_texture * tex,unsigned level,unsigned img,unsigned nblocksx,unsigned nblocksy) argument 472 unsigned nblocksy = util_format_get_nblocksy(pt->format, height); local in function:i945_texture_layout_2d 531 unsigned nblocksy = util_format_get_nblocksy(pt->format, height); local in function:i945_texture_layout_3d [all...] |
| H A D | i915_resource.h | 58 unsigned short nblocksy; member in struct:offset_pair
|
| H A D | i915_state_static.c | 98 y = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksy;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv50_transfer.c | 12 uint32_t nblocksy; member in struct:nv50_transfer 58 uint32_t nblocksx, uint32_t nblocksy) 65 uint32_t height = nblocksy; 276 tx->nblocksy = box->height << mt->ms_y; 279 tx->nblocksy = util_format_get_nblocksy(res->format, box->height); 283 tx->base.layer_stride = tx->nblocksy * tx->base.stride; 298 tx->rect[1].height = tx->nblocksy; 309 tx->nblocksx, tx->nblocksy); 354 tx->nblocksx, tx->nblocksy); 359 tx->rect[1].base += tx->nblocksy * t 55 nv50_m2mf_transfer_rect(struct nv50_context * nv50,const struct nv50_m2mf_rect * dst,const struct nv50_m2mf_rect * src,uint32_t nblocksx,uint32_t nblocksy) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv50_transfer.c | 12 uint32_t nblocksy; member in struct:nv50_transfer 61 uint32_t nblocksx, uint32_t nblocksy) 148 PUSH_DATA (push, nblocksy); 167 uint32_t nblocksx, uint32_t nblocksy) 174 uint32_t height = nblocksy; 193 nv50_2d_transfer_rect(nv50, dst, src, nblocksx, nblocksy); 402 tx->nblocksy = box->height << mt->ms_y; 405 tx->nblocksy = util_format_get_nblocksy(res->format, box->height); 409 tx->base.layer_stride = tx->nblocksy * tx->base.stride; 424 tx->rect[1].height = tx->nblocksy; 58 nv50_2d_transfer_rect(struct nv50_context * nv50,const struct nv50_m2mf_rect * dst,const struct nv50_m2mf_rect * src,uint32_t nblocksx,uint32_t nblocksy) argument 164 nv50_m2mf_transfer_rect(struct nv50_context * nv50,const struct nv50_m2mf_rect * dst,const struct nv50_m2mf_rect * src,uint32_t nblocksx,uint32_t nblocksy) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/dri/ |
| H A D | dri_sw_winsys.c | 124 unsigned nblocksy, size, format_stride; local in function:dri_sw_displaytarget_create 138 nblocksy = util_format_get_nblocksy(format, height); 139 size = dri_sw_dt->stride * nblocksy;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/ |
| H A D | nvc0_transfer.c | 10 uint16_t nblocksy; member in struct:nvc0_transfer 18 uint32_t nblocksx, uint32_t nblocksy) 25 uint32_t height = nblocksy; 113 uint32_t nblocksx, uint32_t nblocksy) 190 PUSH_DATA (push, nblocksy); 410 tx->nblocksy = box->height << mt->ms_y; 413 tx->nblocksy = util_format_get_nblocksy(res->format, box->height); 431 tx->base.layer_stride = tx->nblocksy * tx->base.stride; 447 tx->rect[1].height = tx->nblocksy; 458 tx->nblocksx, tx->nblocksy); 15 nvc0_m2mf_transfer_rect(struct nvc0_context * nvc0,const struct nv50_m2mf_rect * dst,const struct nv50_m2mf_rect * src,uint32_t nblocksx,uint32_t nblocksy) argument 110 nve4_m2mf_transfer_rect(struct nvc0_context * nvc0,const struct nv50_m2mf_rect * dst,const struct nv50_m2mf_rect * src,uint32_t nblocksx,uint32_t nblocksy) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/dri/ |
| H A D | dri_sw_winsys.c | 128 unsigned nblocksy, size, format_stride; local in function:dri_sw_displaytarget_create 142 nblocksy = util_format_get_nblocksy(format, height); 143 size = dri_sw_dt->stride * nblocksy;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/ |
| H A D | nvc0_transfer.c | 10 uint16_t nblocksy; member in struct:nvc0_transfer 18 uint32_t nblocksx, uint32_t nblocksy) 25 uint32_t height = nblocksy; 113 uint32_t nblocksx, uint32_t nblocksy) 190 PUSH_DATA (push, nblocksy); 413 tx->nblocksy = box->height << mt->ms_y; 416 tx->nblocksy = util_format_get_nblocksy(res->format, box->height); 434 tx->base.layer_stride = tx->nblocksy * tx->base.stride; 450 tx->rect[1].height = tx->nblocksy; 461 tx->nblocksx, tx->nblocksy); 15 nvc0_m2mf_transfer_rect(struct nvc0_context * nvc0,const struct nv50_m2mf_rect * dst,const struct nv50_m2mf_rect * src,uint32_t nblocksx,uint32_t nblocksy) argument 110 nve4_m2mf_transfer_rect(struct nvc0_context * nvc0,const struct nv50_m2mf_rect * dst,const struct nv50_m2mf_rect * src,uint32_t nblocksx,uint32_t nblocksy) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_resource_texture.c | 276 unsigned nblocksx, nblocksy; local in function:svga_texture_transfer_map_dma 282 nblocksy = util_format_get_nblocksy(texture->format, st->box.h); 286 st->base.layer_stride = st->base.stride * nblocksy; 287 st->hw_nblocksy = nblocksy; 301 if (st->hw_nblocksy < nblocksy) { 309 (nblocksy * st->base.stride + 1023) / 1024, 310 (nblocksy + st->hw_nblocksy - 1) / st->hw_nblocksy, 314 st->swbuf = MALLOC(nblocksy * st->base.stride * d); 349 unsigned w, h, nblocksx, nblocksy, i; local in function:svga_texture_transfer_map_direct 397 nblocksy 1330 unsigned nblocksx, nblocksy; local in function:svga_texture_transfer_map_upload [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/xlib/ |
| H A D | xlib_sw_winsys.c | 399 unsigned nblocksy, size; local in function:xlib_displaytarget_create 411 nblocksy = util_format_get_nblocksy(format, height); 413 size = xlib_dt->stride * nblocksy;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/xlib/ |
| H A D | xlib_sw_winsys.c | 409 unsigned nblocksy, size; local in function:xlib_displaytarget_create 421 nblocksy = util_format_get_nblocksy(format, height); 423 size = xlib_dt->stride * nblocksy;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_texture.c | 67 unsigned slices, nblocksy; local in function:softpipe_resource_layout 69 nblocksy = util_format_get_nblocksy(pt->format, height); 84 if ((uint64_t)spr->stride[level] * nblocksy > SP_MAX_TEXTURE_SIZE) { 89 spr->img_stride[level] = spr->stride[level] * nblocksy;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_texture.c | 67 unsigned slices, nblocksy; local in function:softpipe_resource_layout 69 nblocksy = util_format_get_nblocksy(pt->format, height); 84 if ((uint64_t)spr->stride[level] * nblocksy > SP_MAX_TEXTURE_SIZE) { 89 spr->img_stride[level] = spr->stride[level] * nblocksy;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_resource_texture.c | 323 unsigned nblocksx, nblocksy; local in function:svga_texture_transfer_map_dma 329 nblocksy = util_format_get_nblocksy(texture->format, st->box.h); 333 st->base.layer_stride = st->base.stride * nblocksy; 334 st->hw_nblocksy = nblocksy; 348 if (st->hw_nblocksy < nblocksy) { 356 (nblocksy * st->base.stride + 1023) / 1024, 357 (nblocksy + st->hw_nblocksy - 1) / st->hw_nblocksy, 361 st->swbuf = MALLOC(nblocksy * st->base.stride * d); 396 unsigned w, h, nblocksx, nblocksy, i; local in function:svga_texture_transfer_map_direct 447 nblocksy 1392 unsigned nblocksx, nblocksy; local in function:svga_texture_transfer_map_upload [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/virgl/ |
| H A D | virgl_resource.c | 214 unsigned level, nblocksy; local in function:virgl_resource_layout 230 nblocksy = util_format_get_nblocksy(pt->format, height); 232 metadata->layer_stride[level] = nblocksy * metadata->stride[level];
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/ |
| H A D | r300_texture_desc.c | 217 unsigned stride, size, layer_size, nblocksy, i; local in function:r300_setup_miptree 241 nblocksy = r300_texture_get_nblocksy(tex, i, &aligned_for_cbzb); 243 nblocksy = r300_texture_get_nblocksy(tex, i, NULL); 245 layer_size = stride * nblocksy;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_texture.c | 93 unsigned align_x, align_y, nblocksx, nblocksy, block_size, num_slices; local in function:llvmpipe_texture_layout 117 nblocksy = util_format_get_nblocksy(pt->format, 127 if ((uint64_t)lpr->row_stride[level] * nblocksy > LP_MAX_TEXTURE_SIZE) { 132 lpr->img_stride[level] = lpr->row_stride[level] * nblocksy;
|