Home
last modified time | relevance | path

Searched refs:width0 (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/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()
51 testcase->layout.width0, in fdl_test_layout()
63 testcase->layout.width0, 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()
Dfreedreno_layout.h126 uint32_t width0, height0, depth0; member
208 unsigned w = u_minify(layout->width0, level); in fdl_level_linear()
236 uint32_t width0, uint32_t height0, uint32_t depth0,
242 uint32_t width0, uint32_t height0, uint32_t depth0,
249 uint32_t nblocksx = util_format_get_nblocksx(layout->format, layout->width0); in fdl_set_pitchalign()
Dfd5_layout_test.c42 .width0 = 32, .height0 = 32,
63 .width0 = 59, .height0 = 37, .depth0 = 11,
80 .width0 = 63, .height0 = 29, .depth0 = 11,
Dfd6_layout.c100 uint32_t width0, uint32_t height0, uint32_t depth0, in fdl6_layout() argument
108 layout->width0 = width0; in fdl6_layout()
169 uint32_t ubwc_width0 = width0; in fdl6_layout()
178 ubwc_width0 = util_next_power_of_two(width0); in fdl6_layout()
Dfd5_layout.c35 uint32_t width0, uint32_t height0, uint32_t depth0, in fdl5_layout() argument
39 layout->width0 = width0; in fdl5_layout()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma.c47 tex->stride = align(util_format_get_stride(templ->format, templ->width0), RAND_NUM_SIZE); 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()
90 unsigned stride = util_format_get_stride(tex->format, tex->width0); in compare_textures()
92 map = pipe_transfer_map_3d(ctx, tex, 0, PIPE_MAP_READ, 0, 0, 0, tex->width0, tex->height0, in compare_textures()
220 tsrc.width0 = (rand() % max_tex_side_gen) + 1; in si_test_dma()
225 tsrc.width0 = align(tsrc.width0, 2); in si_test_dma()
229 tsrc.width0 = util_next_power_of_two(tsrc.width0); in si_test_dma()
241 tdst.width0 = (rand() % max_tex_side_gen) + 1; in si_test_dma()
247 tdst.width0 = util_next_power_of_two(tdst.width0); 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/drivers/r600/
Dr600_test_dma.c47 tex->stride = align(templ->width0 * bpp, RAND_NUM_SIZE); in alloc_cpu_texture()
63 0, 0, 0, tex->width0, tex->height0, in set_random_pixels()
98 0, 0, 0, tex->width0, tex->height0, in compare_textures()
108 if (memcmp(ptr, cpu_ptr, tex->width0 * bpp)) { in compare_textures()
226 tsrc.width0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma()
232 tsrc.width0 = util_next_power_of_two(tsrc.width0); in r600_test_dma()
244 tdst.width0 = (rand() % max_tex_side_gen) + 1; in r600_test_dma()
250 tdst.width0 = util_next_power_of_two(tdst.width0); in r600_test_dma()
256 if ((uint64_t)tsrc.width0 * tsrc.height0 * tsrc.array_size * bpp + in r600_test_dma()
257 (uint64_t)tdst.width0 * tdst.height0 * tdst.array_size * bpp > in r600_test_dma()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_describe.c44 sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); in debug_describe_resource()
47 …sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->la… in debug_describe_resource()
50 …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()
62 …sprintf(buf, "pipe_texture_1darray<%u,%u,%s,%u>", ptr->width0, ptr->array_size, util_format_short_… 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.c54 templ.width0 = width; in util_create_texture2d()
79 fb.width = tex->width0; in util_set_framebuffer_cb0()
123 viewport.scale[0] = 0.5f * tex->width0; in util_set_max_viewport()
126 viewport.translate[0] = 0.5f * tex->width0; 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()
463 pass = pass && util_probe_rect_rgba(ctx, cb, 0, 0, cb->width0, in util_test_constant_buffer()
538 ctx->clear_buffer(ctx, buf, 0, buf->width0, &value, sizeof(value)); in test_sync_file_fences()
542 u_box_2d(0, 0, tex->width0, tex->height0, &box); in test_sync_file_fences()
568 ctx->clear_buffer(ctx, buf, 0, buf->width0, &value, sizeof(value)); in test_sync_file_fences()
[all …]
Du_suballoc.c112 templ.width0 = allocator->size; in u_suballocator_alloc()
142 assert(allocator->offset < allocator->buffer->width0); in u_suballocator_alloc()
143 assert(allocator->offset + size <= allocator->buffer->width0); in u_suballocator_alloc()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_debug_describe.c44 … util_sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); in debug_describe_resource()
47 …util_sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), pt… in debug_describe_resource()
50 …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()
Du_surface.c340 width = res->width0; in is_box_inside_resource()
345 width = u_minify(res->width0, level); in is_box_inside_resource()
351 width = u_minify(res->width0, level); in is_box_inside_resource()
356 width = u_minify(res->width0, level); in is_box_inside_resource()
361 width = u_minify(res->width0, level); in is_box_inside_resource()
366 width = u_minify(res->width0, level); in is_box_inside_resource()
371 width = u_minify(res->width0, level); in is_box_inside_resource()
376 width = u_minify(res->width0, level); in is_box_inside_resource()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_resource.c122 unsigned width0 = rsc->base.width0; in setup_lrz() local
128 width0 *= 2; in setup_lrz()
134 unsigned lrz_pitch = align(DIV_ROUND_UP(width0, 8), 32); 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/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c97 texdim = u_minify(tex->tex.width0, level); in r300_texture_macro_switch()
133 width = u_minify(tex->tex.width0, level); in r300_texture_get_stride()
264 i, u_minify(tex->tex.width0, i), u_minify(tex->tex.height0, i), in r300_setup_miptree()
273 !util_is_power_of_two_or_zero(tex->b.b.width0) || in r300_setup_flags()
276 tex->tex.stride_in_bytes_override) != tex->b.b.width0); in r300_setup_flags()
534 tex->b.b.width0, tex->b.b.height0, tex->b.b.depth0, in r300_tex_print_info()
546 tex->b.b.width0 = base->width0; in r300_texture_desc_init()
552 tex->tex.width0 = base->width0; in r300_texture_desc_init()
569 tex->b.b.nr_samples == 6 && tex->b.b.width0 > 1360) { in r300_texture_desc_init()
576 tex->b.b.nr_samples == 4 && tex->b.b.width0 > 2048) { in r300_texture_desc_init()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_resource.c33 uint32_t width0 = prsc->width0; in setup_slices() local
36 width0 = util_next_power_of_two(width0); in setup_slices()
/external/mesa3d/src/freedreno/decode/scripts/
Dtexturator-to-unit-test-5xx.lua108 local width0 = pkt[1].WIDTH
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)
167 local w = minify(width0, level)
183 local w = minify(width0, level)
Dtexturator-to-unit-test.lua97 local width0 = pkt[1].WIDTH
107width0, 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)
166 local w = minify(width0, level)
182 local w = minify(width0, level)
Dtex3d-layout.lua70 local width0 = pkt[1].WIDTH
75 width0, height0, depth0, pkt[3].MIN_LAYERSZ)
105 local w = width0 -- track current width/height to detect changing
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c213 if (pt->width0 >= 240) { in i9x5_scanout_layout()
214 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_scanout_layout()
218 } else if (pt->width0 == 64 && pt->height0 == 64) { in i9x5_scanout_layout()
219 tex->stride = get_pot_stride(pt->format, pt->width0); in i9x5_scanout_layout()
227 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_scanout_layout()
246 if (pt->width0 < 240) in i9x5_display_target_layout()
252 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_display_target_layout()
258 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_display_target_layout()
298 unsigned width = util_next_power_of_two(pt->width0); in i9x5_texture_layout_cube()
303 assert(pt->width0 == pt->height0); /* cubemap images are square */ in i9x5_texture_layout_cube()
[all …]
/external/mesa3d/src/gallium/frontends/clover/core/
Dresource.cpp143 info.u.buf.last_element = pipe->width0 - 1; in bind_surface()
160 info.width0 = img->width(); in root_resource()
164 info.width0 = obj.size(); in root_resource()
192 box rect { {{ 0, 0, 0 }}, {{ info.width0, info.height0, info.depth0 }} }; in root_resource()
197 0, info.width0, data_ptr); in root_resource()
200 rect, data_ptr, cpp * info.width0, in root_resource()
201 cpp * info.width0 * info.height0); in root_resource()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c180 vbuffer->buffer.resource->width0); in st_feedback_draw_vbo()
245 unsigned size = buf->width0 - offset; in st_feedback_draw_vbo()
275 unsigned size = buf->width0 - binding->Offset; in st_feedback_draw_vbo()
311 unsigned width0 = res->width0; in st_feedback_draw_vbo() local
336 u_minify(res->width0, j), in st_feedback_draw_vbo()
356 width0 = view->u.buf.size / util_format_get_blocksize(view->format); in st_feedback_draw_vbo()
371 draw_set_mapped_texture(draw, PIPE_SHADER_VERTEX, i, width0, in st_feedback_draw_vbo()
395 width = u_minify(res->width0, img->u.tex.level); in st_feedback_draw_vbo()
Dst_texture.c61 GLuint width0, in st_texture_create() argument
72 assert(width0 > 0); in st_texture_create()
89 pt.width0 = width0; in st_texture_create()
227 if (ptWidth != u_minify(pt->width0, image->Level) || in st_texture_match_image()
331 region.x = src->width0 / 2; in print_center_pixel()
358 GLuint width = u_minify(dst->width0, dstLevel); in st_texture_image_copy()
364 if (u_minify(src->width0, srcLevel) != width || in st_texture_image_copy()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c256 (sbuf->b.b.width0 + 1023)/1024); in svga_buffer_transfer_map()
259 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 16); in svga_buffer_transfer_map()
368 svga_buffer_add_range(sbuf, 0, sbuf->b.b.width0); in svga_buffer_transfer_unmap()
471 sbuf->b.b.width0 = align(sbuf->b.b.width0, 16); in svga_buffer_create()
501 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 64); in svga_buffer_create()
552 sbuf->b.b.width0 = bytes; in svga_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()
188 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); in panfrost_create_surface()
230 scanout_templat.width0 = ALIGN_POT(template->width0, 16); in panfrost_create_scanout_res()
248 template->width0, template->height0); in panfrost_create_scanout_res()
250 unsigned pitch = ALIGN_POT(template->width0, 16) * in panfrost_create_scanout_res()
256 scanout_templat.width0 = ALIGN_POT(template->width0, 16); in panfrost_create_scanout_res()
286 unsigned width = res->width0; 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 …]

12345678910>>...12