Home
last modified time | relevance | path

Searched refs:util_format_get_stride (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c107 return util_next_power_of_two(util_format_get_stride(format, width)); in get_pot_stride()
214 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_scanout_layout()
252 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_display_target_layout()
345 tex->stride = align(util_format_get_stride(pt->format, width), 4); in i915_texture_layout_2d()
374 tex->stride = align(util_format_get_stride(pt->format, width), 4); in i915_texture_layout_3d()
453 tex->stride = align(util_format_get_stride(pt->format, width), 4); in i945_texture_layout_2d()
510 tex->stride = align(util_format_get_stride(pt->format, width), 4); in i945_texture_layout_3d()
870 offset += util_format_get_stride(format, transfer->box.x);
/external/mesa3d/src/gallium/auxiliary/util/
Du_tile.c55 dst_stride = util_format_get_stride(pt->resource->format, w); in pipe_get_tile_raw()
76 src_stride = util_format_get_stride(format, w); in pipe_put_tile_raw()
441 packed, util_format_get_stride(format, w), in pipe_get_tile_rgba()
Du_resource.c58 util_format_get_stride(res->format, width) * slices * samples); in util_resource_size()
Du_debug_describe.c44 sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); in debug_describe_resource()
Du_transfer_helper.c259 ptrans->stride = util_format_get_stride(format, box->width); in u_transfer_helper_transfer_map()
585 ptrans->stride = util_format_get_stride(format, box->width); in u_transfer_helper_deinterleave_transfer_map()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_image.c163 if (util_format_get_stride(pformat, *width) > in get_dimensions()
164 util_format_get_stride(spr->base.format, spr->base.width0)) in get_dimensions()
234 stride = util_format_get_stride(params->format, width); in sp_tgsi_load()
320 stride = util_format_get_stride(pformat, width); in sp_tgsi_store()
649 stride = util_format_get_stride(spr->base.format, width); in sp_tgsi_op()
Dsp_texture.c79 spr->stride[level] = util_format_get_stride(pt->format, width); in softpipe_resource_layout()
/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()
Du_format.h652 util_format_get_stride(enum pipe_format format, in util_format_get_stride() function
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c195 output_format_size = util_format_get_stride(output_format, 1); in main()
218 input_format_size = util_format_get_stride(input_format, 1); in main()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c114 stride = util_format_get_stride(pres->format, aligned_width); in setup_miptree()
122 …res->levels[level].layer_stride = util_format_get_stride(pres->format, align(width, 16)) * align(h… in setup_miptree()
351 stride = util_format_get_stride(pres->format, width); in lima_resource_from_handle()
612 ptrans->stride = util_format_get_stride(pres->format, ptrans->box.width); in lima_transfer_map()
/external/mesa3d/src/gallium/winsys/sw/hgl/
Dhgl_sw_winsys.c123 size_t formatStride = util_format_get_stride(format, width); in hgl_winsys_displaytarget_create()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_resource.c179 mip->stride = util_format_get_stride(prsc->format, mip->padded_width); in setup_miptree()
546 if (level->stride < util_format_get_stride(tmpl->format, level->padded_width)) { in etna_resource_from_handle()
548 level->stride, util_format_get_stride(tmpl->format, level->padded_width), in etna_resource_from_handle()
/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()
90 unsigned stride = util_format_get_stride(tex->format, tex->width0); in compare_textures()
/external/mesa3d/src/gallium/frontends/nine/
Dvolume9.c109 This->stride = util_format_get_stride(This->info.format, pDesc->Width); in NineVolume9_ctor()
244 unsigned x_offset = util_format_get_stride(format, x); in NineVolume9_GetSystemMemOffset()
Dnine_pipe.h776 unsigned stride = util_format_get_stride(format, width); in nine_format_get_stride()
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c139 format_stride = util_format_get_stride(format, width); in dri_sw_displaytarget_create()
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c60 valid_stride = util_format_get_stride(res->format, box->width); in vtest_get_transfer_size()
141 shm_stride = util_format_get_stride(res->format, res->width); in virgl_vtest_transfer_get_internal()
Dvirgl_vtest_socket.c510 memcpy(ptr, line, util_format_get_stride(format, box->width)); in virgl_vtest_recv_transfer_get_data()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c143 stride = util_format_get_stride(tex->b.b.format, width); in r300_texture_get_stride()
147 return align(util_format_get_stride(tex->b.b.format, width), is_rs690 ? 64 : 32); in r300_texture_get_stride()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.c247 stride = util_format_get_stride(pres->format, box->width); in virgl_transfer_map_size()
483 util_format_get_stride(pt->format, width); in virgl_resource_layout()
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c412 xlib_dt->stride = align(util_format_get_stride(format, width), alignment); in xlib_displaytarget_create()
/external/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_pipe.c109 stride = util_format_get_stride(templ->format, templ->width0); in noop_resource_create()
/external/mesa3d/src/gallium/tests/trivial/
Dcompute.c195 int dy = util_format_get_stride(format, w); in init_tex()
236 int dy = util_format_get_stride(tex->format, tex->width0); in check_tex()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c305 transkey.output_stride += (util_format_get_stride(fmt, 1) + 3) & ~3;

12