Searched refs:nblocksy (Results 1 - 25 of 35) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_resource.c43 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 Dfd5_layout.c67 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 Dfd6_layout.c201 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 Dfd3_resource.c52 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 Dfd4_resource.c60 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 Di915_resource_texture.c143 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 Di915_resource.h63 unsigned short nblocksy; member in struct:offset_pair
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
H A Di915_resource_texture.c130 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 Di915_resource.h58 unsigned short nblocksy; member in struct:offset_pair
H A Di915_state_static.c98 y = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksy;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_transfer.c12 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 Dnv50_transfer.c12 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 Ddri_sw_winsys.c124 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 Dnvc0_transfer.c10 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 Ddri_sw_winsys.c128 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 Dnvc0_transfer.c10 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 Dsvga_resource_texture.c276 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 Dxlib_sw_winsys.c399 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 Dxlib_sw_winsys.c409 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 Dsp_texture.c67 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 Dsp_texture.c67 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 Dsvga_resource_texture.c323 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 Dvirgl_resource.c214 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 Dr300_texture_desc.c217 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 Dlp_texture.c93 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;

Completed in 19 milliseconds

12