/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_surface.c | 344 width = u_minify(res->width0, level); in is_box_inside_resource() 350 width = u_minify(res->width0, level); in is_box_inside_resource() 351 height = u_minify(res->height0, level); in is_box_inside_resource() 355 width = u_minify(res->width0, level); in is_box_inside_resource() 356 height = u_minify(res->height0, level); in is_box_inside_resource() 357 depth = u_minify(res->depth0, level); in is_box_inside_resource() 360 width = u_minify(res->width0, level); in is_box_inside_resource() 361 height = u_minify(res->height0, level); in is_box_inside_resource() 365 width = u_minify(res->width0, level); in is_box_inside_resource() 370 width = u_minify(res->width0, level); in is_box_inside_resource() [all …]
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | basetexture9.c | 329 box.width = u_minify(This->base.info.width0, l); in NineBaseTexture9_UploadSelf() 330 box.height = u_minify(This->base.info.height0, l); in NineBaseTexture9_UploadSelf() 342 box.width = u_minify(This->base.info.width0, l); in NineBaseTexture9_UploadSelf() 343 box.height = u_minify(This->base.info.height0, l); in NineBaseTexture9_UploadSelf() 354 box.width = u_minify(This->base.info.width0, l); in NineBaseTexture9_UploadSelf() 355 box.height = u_minify(This->base.info.height0, l); in NineBaseTexture9_UploadSelf() 356 box.depth = u_minify(This->base.info.depth0, l); in NineBaseTexture9_UploadSelf() 435 templ.width0 = u_minify(templ.width0, This->managed.lod); in NineBaseTexture9_CreatePipeResource() 436 templ.height0 = u_minify(templ.height0, This->managed.lod); in NineBaseTexture9_CreatePipeResource() 437 templ.depth0 = u_minify(templ.depth0, This->managed.lod); in NineBaseTexture9_CreatePipeResource() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_surface.c | 331 assert(src_box.x + src_box.width <= (int)u_minify(src->width0, src_level)); in util_resource_copy_region() 332 assert(src_box.y + src_box.height <= (int)u_minify(src->height0, src_level)); in util_resource_copy_region() 333 assert(dst_box.x + dst_box.width <= (int)u_minify(dst->width0, dst_level)); in util_resource_copy_region() 334 assert(dst_box.y + dst_box.height <= (int)u_minify(dst->height0, dst_level)); in util_resource_copy_region() 724 width = u_minify(res->width0, level); in is_box_inside_resource() 730 width = u_minify(res->width0, level); in is_box_inside_resource() 731 height = u_minify(res->height0, level); in is_box_inside_resource() 735 width = u_minify(res->width0, level); in is_box_inside_resource() 736 height = u_minify(res->height0, level); in is_box_inside_resource() 737 depth = u_minify(res->depth0, level); in is_box_inside_resource() [all …]
|
D | u_resource.c | 60 width = u_minify(width, 1); in util_resource_size() 61 height = u_minify(height, 1); in util_resource_size() 62 depth = u_minify(depth, 1); in util_resource_size()
|
D | u_gen_mipmap.c | 107 blit.src.box.width = u_minify(pt->width0, blit.src.level); in util_gen_mipmap() 108 blit.src.box.height = u_minify(pt->height0, blit.src.level); in util_gen_mipmap() 110 blit.dst.box.width = u_minify(pt->width0, blit.dst.level); in util_gen_mipmap() 111 blit.dst.box.height = u_minify(pt->height0, blit.dst.level); in util_gen_mipmap()
|
D | u_inlines.h | 225 ps->width = u_minify(pt->width0, level); in pipe_surface_reset() 226 ps->height = u_minify(pt->height0, level); in pipe_surface_reset() 656 return u_minify(r->depth0, level) - 1; in util_max_layer() 682 width == u_minify(tex->width0, level) && in util_texrange_covers_whole_level() 683 height == u_minify(tex->height0, level) && in util_texrange_covers_whole_level()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 501 const float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_1d() 518 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_2d() 519 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); in compute_lambda_2d() 539 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); in compute_lambda_3d() 540 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); in compute_lambda_3d() 541 const float maxz = MAX2(dpdx, dpdy) * u_minify(texture->depth0, sview->base.u.tex.first_level); in compute_lambda_3d() 602 if (x < 0 || x >= (int) u_minify(texture->width0, level) || in get_texel_2d() 603 y < 0 || y >= (int) u_minify(texture->height0, level)) { in get_texel_2d() 828 if (x < 0 || x >= (int) u_minify(texture->width0, level) || in get_texel_3d() 829 y < 0 || y >= (int) u_minify(texture->height0, level) || in get_texel_3d() [all …]
|
D | sp_texture.c | 93 width = u_minify(width, 1); in softpipe_resource_layout() 94 height = u_minify(height, 1); in softpipe_resource_layout() 95 depth = u_minify(depth, 1); in softpipe_resource_layout() 305 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); in softpipe_create_surface() 306 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); in softpipe_create_surface() 373 assert(box->x + box->width <= (int) u_minify(resource->width0, level)); in softpipe_transfer_map() 378 assert(box->y + box->height <= (int) u_minify(resource->height0, level)); in softpipe_transfer_map() 389 assert(box->z + box->depth <= (int) u_minify(resource->depth0, level)); in softpipe_transfer_map()
|
D | sp_image.c | 170 *width = u_minify(spr->base.width0, level); in get_dimensions() 171 *height = u_minify(spr->base.height0, level); in get_dimensions() 174 *depth = u_minify(spr->base.depth0, level); in get_dimensions() 761 dims[0] = u_minify(spr->base.width0, level); in sp_tgsi_get_dims() 774 dims[1] = u_minify(spr->base.height0, level); in sp_tgsi_get_dims() 777 dims[1] = u_minify(spr->base.height0, level); in sp_tgsi_get_dims() 778 dims[2] = u_minify(spr->base.depth0, level); in sp_tgsi_get_dims() 781 dims[1] = u_minify(spr->base.height0, level); in sp_tgsi_get_dims()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_texture.c | 226 if (ptWidth != u_minify(pt->width0, image->Level) || in st_texture_match_image() 227 ptHeight != u_minify(pt->height0, image->Level) || in st_texture_match_image() 228 ptDepth != u_minify(pt->depth0, image->Level) || in st_texture_match_image() 357 GLuint width = u_minify(dst->width0, dstLevel); in st_texture_image_copy() 358 GLuint height = u_minify(dst->height0, dstLevel); in st_texture_image_copy() 359 GLuint depth = u_minify(dst->depth0, dstLevel); in st_texture_image_copy() 363 if (u_minify(src->width0, srcLevel) != width || in st_texture_image_copy() 364 u_minify(src->height0, srcLevel) != height || in st_texture_image_copy() 365 u_minify(src->depth0, srcLevel) != depth) { in st_texture_image_copy()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_resource.c | 123 width = u_minify(width, 1); in setup_slices() 124 height = u_minify(height, 1); in setup_slices() 125 depth = u_minify(depth, 1); in setup_slices()
|
D | fd5_image.c | 92 img->width = u_minify(prsc->width0, lvl); in translate_image() 93 img->height = u_minify(prsc->height0, lvl); in translate_image() 94 img->depth = u_minify(prsc->depth0, lvl); in translate_image()
|
D | fd5_texture.c | 262 A5XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | in fd5_sampler_view_create() 263 A5XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); in fd5_sampler_view_create() 301 A5XX_TEX_CONST_5_DEPTH(u_minify(prsc->depth0, lvl)); in fd5_sampler_view_create()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 97 texdim = u_minify(tex->tex.width0, level); in r300_texture_macro_switch() 99 texdim = u_minify(tex->tex.height0, level); in r300_texture_macro_switch() 133 width = u_minify(tex->tex.width0, level); in r300_texture_get_stride() 157 height = u_minify(tex->tex.height0, level); in r300_texture_get_nblocksy() 254 size = layer_size * u_minify(tex->tex.depth0, i); in r300_setup_miptree() 264 i, u_minify(tex->tex.width0, i), u_minify(tex->tex.height0, i), in r300_setup_miptree() 265 u_minify(tex->tex.depth0, i), stride, tex->tex.size_in_bytes, in r300_setup_miptree() 369 height = u_minify(tex->b.b.height0, i); in r300_setup_hyperz_properties()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 354 width = u_minify(width, 1); in i915_texture_layout_2d() 355 height = u_minify(height, 1); in i915_texture_layout_2d() 383 width = u_minify(width, 1); in i915_texture_layout_3d() 384 height = u_minify(height, 1); in i915_texture_layout_3d() 395 depth = u_minify(depth, 1); in i915_texture_layout_3d() 462 align_nblocksx(pt->format, u_minify(width, 1), align_x) + in i945_texture_layout_2d() 463 util_format_get_nblocksx(pt->format, u_minify(width, 2)); in i945_texture_layout_2d() 491 width = u_minify(width, 1); in i945_texture_layout_2d() 492 height = u_minify(height, 1); in i945_texture_layout_2d() 546 width = u_minify(width, 1); in i945_texture_layout_3d() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_surface.c | 133 u_minify(src_tex->b.b.depth0, miplevel) : 1); in svga_texture_copy_handle_resource() 141 u_minify(src_tex->b.b.width0, miplevel), in svga_texture_copy_handle_resource() 142 u_minify(src_tex->b.b.height0, miplevel), in svga_texture_copy_handle_resource() 178 key->size.width = u_minify(tex->b.b.width0, start_mip); in svga_texture_view_surface() 179 key->size.height = u_minify(tex->b.b.height0, start_mip); in svga_texture_view_surface() 180 key->size.depth = zslice_pick < 0 ? u_minify(tex->b.b.depth0, start_mip) : 1; in svga_texture_view_surface() 293 s->base.width = u_minify(pt->width0, surf_tmpl->u.tex.level); in svga_create_surface_view() 294 s->base.height = u_minify(pt->height0, surf_tmpl->u.tex.level); in svga_create_surface_view() 779 u_minify(tex->b.b.width0, surf->u.tex.level), in svga_propagate_surface() 780 u_minify(tex->b.b.height0, surf->u.tex.level), in svga_propagate_surface()
|
D | svga_sampler_view.c | 208 u_minify(tex->b.b.width0, i), in svga_validate_sampler_view() 209 u_minify(tex->b.b.height0, i), in svga_validate_sampler_view() 210 u_minify(tex->b.b.depth0, i)); in svga_validate_sampler_view()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_resource.c | 86 u_minify(prsc->width0, i), in vc5_debug_resource_layout() 87 u_minify(prsc->height0, i), in vc5_debug_resource_layout() 136 u_minify(rsc->base.height0, in vc5_resource_transfer_unmap() 356 level_width = u_minify(width, i); in vc5_setup_slices() 357 level_height = u_minify(height, i); in vc5_setup_slices() 359 level_width = u_minify(pot_width, i); in vc5_setup_slices() 360 level_height = u_minify(pot_height, i); in vc5_setup_slices() 666 psurf->width = u_minify(ptex->width0, level); in vc5_create_surface() 667 psurf->height = u_minify(ptex->height0, level); in vc5_create_surface()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_surface.c | 57 psurf->width = u_minify(ptex->width0, level); in fd_create_surface() 58 psurf->height = u_minify(ptex->height0, level); in fd_create_surface()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 96 rect->w = u_minify(pt->width0, level) << mt->ms_x; in define_rect() 98 rect->h = u_minify(pt->height0, level) << mt->ms_y; in define_rect() 104 rect->d = u_minify(pt->depth0, level); in define_rect() 438 w = u_minify(w, 1); in nv30_miptree_create() 439 h = u_minify(h, 1); in nv30_miptree_create() 440 d = u_minify(d, 1); in nv30_miptree_create() 521 ns->width = u_minify(pt->width0, ps->u.tex.level); in nv30_miptree_surface_new() 522 ns->height = u_minify(pt->height0, ps->u.tex.level); in nv30_miptree_surface_new()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_miptree.c | 321 w = u_minify(w, 1); in nv50_miptree_init_layout_tiled() 322 h = u_minify(h, 1); in nv50_miptree_init_layout_tiled() 323 d = u_minify(d, 1); in nv50_miptree_init_layout_tiled() 453 u_minify(pt->height0, l)); in nv50_mt_zslice_offset() 486 ns->width = u_minify(mt->base.base.width0, ps->u.tex.level); in nv50_surface_from_miptree() 487 ns->height = u_minify(mt->base.base.height0, ps->u.tex.level); in nv50_surface_from_miptree()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_miptree.c | 224 w = u_minify(w, 1); in nvc0_miptree_init_layout_tiled() 225 h = u_minify(h, 1); in nvc0_miptree_init_layout_tiled() 226 d = u_minify(d, 1); in nvc0_miptree_init_layout_tiled() 337 u_minify(pt->height0, l)); in nvc0_mt_zslice_offset()
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_texture.c | 102 const unsigned hgt = u_minify(pres->height0, level); in vrend_get_tex_image_offset() 138 const unsigned h = u_minify(vtex->base.u.b.height0, level); in virgl_texture_transfer_map() 269 width = u_minify(width, 1); in vrend_resource_layout() 270 height = u_minify(height, 1); in vrend_resource_layout() 271 depth = u_minify(depth, 1); in vrend_resource_layout()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.c | 257 A3XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | in fd3_sampler_view_create() 258 A3XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); in fd3_sampler_view_create() 272 A3XX_TEX_CONST_3_DEPTH(u_minify(prsc->depth0, lvl)) | in fd3_sampler_view_create()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_dma.c | 273 src_w = u_minify(rsrc->resource.b.b.width0, src_level); in si_dma_copy() 274 dst_w = u_minify(rdst->resource.b.b.width0, dst_level); in si_dma_copy() 281 src_box->height != u_minify(rsrc->resource.b.b.height0, src_level) || in si_dma_copy() 282 src_box->height != u_minify(rdst->resource.b.b.height0, dst_level) || in si_dma_copy()
|