Home
last modified time | relevance | path

Searched refs:height0 (Results 1 – 25 of 252) sorted by relevance

1234567891011

/external/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c48 tex->layer_stride = (uint64_t)tex->stride * templ->height0; in alloc_cpu_texture()
63 0, 0, 0, tex->width0, tex->height0, in set_random_pixels()
68 for (y = 0; y < tex->height0; y++) { in set_random_pixels()
98 0, 0, 0, tex->width0, tex->height0, in compare_textures()
103 for (y = 0; y < tex->height0; y++) { in compare_textures()
227 tsrc.height0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma()
233 tsrc.height0 = util_next_power_of_two(tsrc.height0); in r600_test_dma()
245 tdst.height0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma()
251 tdst.height0 = util_next_power_of_two(tdst.height0); in r600_test_dma()
256 if ((uint64_t)tsrc.width0 * tsrc.height0 * tsrc.array_size * bpp + in r600_test_dma()
[all …]
/external/mesa3d/src/freedreno/fdl/
Dfd6_layout_test.c37 .width0 = 32, .height0 = 32,
57 .width0 = 1024, .height0 = 1,
96 .width0 = 1024, .height0 = 1,
120 .width0 = 128, .height0 = 1,
136 .width0 = 129, .height0 = 1,
152 .width0 = 130, .height0 = 1,
170 .width0 = 129, .height0 = 1,
186 .width0 = 129, .height0 = 1,
202 .width0 = 129, .height0 = 1,
222 .width0 = 385, .height0 = 128,
[all …]
Dfd_layout_test.c40 int max_size = MAX2(testcase->layout.width0, testcase->layout.height0); in fdl_test_layout()
52 MAX2(testcase->layout.height0, 1), in fdl_test_layout()
64 MAX2(testcase->layout.height0, 1), in fdl_test_layout()
86 layout.width0, layout.height0, layout.depth0, in fdl_test_layout()
95 layout.width0, layout.height0, layout.depth0, in fdl_test_layout()
105 layout.width0, layout.height0, layout.depth0, in fdl_test_layout()
114 layout.width0, layout.height0, layout.depth0, in fdl_test_layout()
Dfd6_layout.c100 uint32_t width0, uint32_t height0, uint32_t depth0, in fdl6_layout() argument
109 layout->height0 = height0; in fdl6_layout()
170 uint32_t ubwc_height0 = height0; in fdl6_layout()
179 ubwc_height0 = util_next_power_of_two(height0); in fdl6_layout()
197 height = u_minify(util_next_power_of_two(height0), level); in fdl6_layout()
199 height = u_minify(height0, level); in fdl6_layout()
Dfd5_layout.c35 uint32_t width0, uint32_t height0, uint32_t depth0, in fdl5_layout() argument
40 layout->height0 = height0; in fdl5_layout()
67 uint32_t nblocksy = util_format_get_nblocksy(format, u_minify(height0, level)); in fdl5_layout()
Dfd5_layout_test.c42 .width0 = 32, .height0 = 32,
63 .width0 = 59, .height0 = 37, .depth0 = 11,
80 .width0 = 63, .height0 = 29, .depth0 = 11,
Dfreedreno_layout.c36 layout->height0 = 1; in fdl_layout_buffer()
55 u_minify(layout->height0, level), in fdl_dump_layout()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma.c48 tex->layer_stride = (uint64_t)tex->stride * templ->height0; in alloc_cpu_texture()
61 map = pipe_transfer_map_3d(ctx, tex, 0, PIPE_MAP_WRITE, 0, 0, 0, tex->width0, tex->height0, in set_random_pixels()
66 for (y = 0; y < tex->height0; y++) { in set_random_pixels()
92 map = pipe_transfer_map_3d(ctx, tex, 0, PIPE_MAP_READ, 0, 0, 0, tex->width0, tex->height0, in compare_textures()
97 for (y = 0; y < tex->height0; y++) { in compare_textures()
221 tsrc.height0 = (rand() % max_tex_side_gen) + 1; in si_test_dma()
230 tsrc.height0 = util_next_power_of_two(tsrc.height0); in si_test_dma()
242 tdst.height0 = (rand() % max_tex_side_gen) + 1; in si_test_dma()
248 tdst.height0 = util_next_power_of_two(tdst.height0); in si_test_dma()
253 if ((uint64_t)util_format_get_nblocks(tsrc.format, tsrc.width0, tsrc.height0) * in si_test_dma()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_describe.c50 …sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr-… in debug_describe_resource()
53 …sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name(ptr-… in debug_describe_resource()
56 …sprintf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(p… in debug_describe_resource()
59 …sprintf(buf, "pipe_texture3d<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->depth0, util_format… in debug_describe_resource()
65 …sprintf(buf, "pipe_texture_2darray<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->array_size, u… in debug_describe_resource()
68 …sprintf(buf, "pipe_texture_cubearray<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->array_size,… in debug_describe_resource()
Du_tests.c55 templ.height0 = height; in util_create_texture2d()
80 fb.height = tex->height0; in util_set_framebuffer_cb0()
124 viewport.scale[1] = 0.5f * tex->height0; in util_set_max_viewport()
127 viewport.translate[1] = 0.5f * tex->height0; in util_set_max_viewport()
353 cb->width0, cb->height0, red); in tgsi_vs_window_space_position()
406 cb->width0, cb->height0, expected, in null_sampler_view()
464 cb->height0, zero); in util_test_constant_buffer()
542 u_box_2d(0, 0, tex->width0, tex->height0, &box); in test_sync_file_fences()
779 cb->width0, cb->height0, expected); in test_texture_barrier()
845 info.grid[1] = cb->height0 / 8; in test_compute_clear_image()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_resource.c123 unsigned height0 = rsc->base.height0; in setup_lrz() local
131 height0 *= 2; in setup_lrz()
135 unsigned lrz_height = align(DIV_ROUND_UP(height0, 8), 16); in setup_lrz()
157 prsc->width0, prsc->height0, prsc->depth0, in fd6_setup_slices()
186 prsc->width0, prsc->height0, prsc->depth0, in fill_ubwc_buffer_sizes()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_debug_describe.c50 …util_sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name… in debug_describe_resource()
53 …util_sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name… in debug_describe_resource()
56 …util_sprintf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_n… in debug_describe_resource()
59 …util_sprintf(buf, "pipe_texture3d<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->depth0, util_f… in debug_describe_resource()
/external/mesa3d/src/freedreno/decode/scripts/
Dtexturator-to-unit-test-5xx.lua109 local height0 = pkt[1].HEIGHT
118 width0, height0, depth0, pkt[0].FMT, pkt[0].TILE_MODE, tostring(pkt[3].FLAG))
157 printf(" .width0 = %d, .height0 = %d, .depth0 = %d,\n", width0, height0, depth0)
159 printf(" .width0 = %d, .height0 = %d,\n", width0, height0)
168 local h = minify(height0, level)
184 local h = minify(height0, level)
Dtexturator-to-unit-test.lua98 local height0 = pkt[1].HEIGHT
107 …width0, height0, depth0, pkt[0].FMT, pkt[0].TILE_MODE, pkt[3].MIN_LAYERSZ, tostring(pkt[3].TILE_AL…
156 printf(" .width0 = %d, .height0 = %d, .depth = %d,\n", width0, height0, depth0)
158 printf(" .width0 = %d, .height0 = %d,\n", width0, height0)
167 local h = minify(height0, level)
183 local h = minify(height0, level)
Dtex3d-layout.lua71 local height0 = pkt[1].HEIGHT
75 width0, height0, depth0, pkt[3].MIN_LAYERSZ)
106 local h = height0 -- mipmap level
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c99 texdim = u_minify(tex->tex.height0, level); in r300_texture_macro_switch()
157 height = u_minify(tex->tex.height0, level); in r300_texture_get_nblocksy()
264 i, u_minify(tex->tex.width0, i), u_minify(tex->tex.height0, i), in r300_setup_miptree()
280 !util_is_power_of_two_or_zero(tex->b.b.height0) || in r300_setup_flags()
369 height = u_minify(tex->b.b.height0, i); in r300_setup_hyperz_properties()
455 cmask_num_dw = r300_pixels_to_dwords(stride, tex->b.b.height0, in r300_setup_cmask_properties()
496 (tex->b.b.height0 == 1 || dbg_no_tiling)) { in r300_setup_tiling()
534 tex->b.b.width0, tex->b.b.height0, tex->b.b.depth0, in r300_tex_print_info()
547 tex->b.b.height0 = base->height0; in r300_texture_desc_init()
553 tex->tex.height0 = base->height0; in r300_texture_desc_init()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_resource.c34 uint32_t height0 = util_format_get_nblocksy(format, prsc->height0); in fd2_setup_slices() local
43 uint32_t nblocksy = align(u_minify(height0, level), 32); in fd2_setup_slices()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c35 if (tex->height0 > 1) in amdgpu_surface_sanity()
48 if (tex->height0 > 1) in amdgpu_surface_sanity()
84 config.info.height = tex->height0; in amdgpu_surface_init()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c62 unsigned height = pt->height0; in softpipe_resource_layout()
142 spr->base.height0, in softpipe_displaytarget_layout()
170 util_is_power_of_two_or_zero(templat->height0) && in softpipe_resource_create_front()
235 util_is_power_of_two_or_zero(templat->height0) && in softpipe_resource_from_handle()
306 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); in softpipe_create_surface()
317 ps->height = pt->height0; in softpipe_create_surface()
378 assert(box->y + box->height <= (int) u_minify(resource->height0, level)); in softpipe_transfer_map()
502 spr->base.height0 = 1; in softpipe_user_buffer_create()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.c91 &rsc->slices[0], templat->width0, templat->height0); in panfrost_resource_from_handle()
98 panfrost_afbc_header_size(templat->width0, templat->height0); in panfrost_resource_from_handle()
189 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); in panfrost_create_surface()
197 ps->height = pt->height0; in panfrost_create_surface()
231 scanout_templat.height0 = ALIGN_POT(template->height0, 16); in panfrost_create_scanout_res()
248 template->width0, template->height0); in panfrost_create_scanout_res()
257 scanout_templat.height0 = ALIGN_POT(template->height0, 16) + header_rows; in panfrost_create_scanout_res()
287 unsigned height = res->height0; in panfrost_setup_slices()
472 if (pres->base.width0 <= 16 && pres->base.height0 <= 16) in panfrost_should_afbc()
565 res->width0, res->height0, in panfrost_resource_set_damage_region()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c215 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_scanout_layout()
218 } else if (pt->width0 == 64 && pt->height0 == 64) { in i9x5_scanout_layout()
220 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_scanout_layout()
227 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_scanout_layout()
253 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_display_target_layout()
258 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_display_target_layout()
303 assert(pt->width0 == pt->height0); /* cubemap images are square */ in i9x5_texture_layout_cube()
338 unsigned height = util_next_power_of_two(pt->height0); in i915_texture_layout_2d()
367 unsigned height = util_next_power_of_two(pt->height0); in i915_texture_layout_3d()
444 unsigned height = util_next_power_of_two(pt->height0); in i945_texture_layout_2d()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_texture.c62 GLuint height0, in st_texture_create() argument
73 assert(height0 > 0); in st_texture_create()
90 pt.height0 = height0; in st_texture_create()
228 ptHeight != u_minify(pt->height0, image->Level) || in st_texture_match_image()
332 region.y = src->height0 / 2; in print_center_pixel()
359 GLuint height = u_minify(dst->height0, dstLevel); in st_texture_image_copy()
365 u_minify(src->height0, srcLevel) != height || in st_texture_image_copy()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c64 scanout_templat.height0 = height; in lima_resource_create_scanout()
90 unsigned width0, unsigned height0, in setup_miptree() argument
96 unsigned height = height0; in setup_miptree()
210 height = align(templat->height0, 16); in _lima_resource_create_with_modifiers()
215 height = templat->height0; in _lima_resource_create_with_modifiers()
234 pres, pres->width0, pres->height0, pres->depth0, in _lima_resource_create_with_modifiers()
350 height = align(pres->height0, 16); in lima_resource_from_handle()
420 int ret = u_box_clip_2d(&b, &b, pres->width0, pres->height0); in get_damage_bound_box()
424 get_scissor_from_box(bound, &b, pres->height0); in get_damage_bound_box()
456 rects[i].y + rects[i].height >= pres->height0) in lima_resource_set_damage_region()
[all …]
/external/mesa3d/src/gallium/frontends/vdpau/
Doutput.c89 res_tmpl.height0 = height; in vlVdpOutputSurfaceCreate()
187 *height = vlsurface->sampler_view->texture->height0; in vlVdpOutputSurfaceGetParameters()
338 res_tmpl.height0 = abs(destination_rect->y0-destination_rect->y1); in vlVdpOutputSurfacePutBitsIndexed()
341 res_tmpl.height0 = vlsurface->surface->texture->height0; in vlVdpOutputSurfacePutBitsIndexed()
359 box.height = res->height0; in vlVdpOutputSurfacePutBitsIndexed()
364 source_pitch[0] * res->height0); in vlVdpOutputSurfacePutBitsIndexed()
380 res_tmpl.height0 = 1; in vlVdpOutputSurfacePutBitsIndexed()
392 box.height = res->height0; in vlVdpOutputSurfacePutBitsIndexed()
474 vtmpl.height = vlsurface->surface->texture->height0; in vlVdpOutputSurfacePutBitsYCbCr()
496 sv->texture->width0, sv->texture->height0, 1 in vlVdpOutputSurfacePutBitsYCbCr()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_resource.c36 unsigned lrz_height = DIV_ROUND_UP(rsc->base.height0, 8); in setup_lrz()
66 prsc->width0, prsc->height0, prsc->depth0, in fd5_setup_slices()

1234567891011