Home
last modified time | relevance | path

Searched refs:row_pitch_B (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/intel/isl/
Disl.c1426 surf_info->row_pitch_B == 0) { in isl_calc_row_pitch_alignment()
1555 if (surf_info->row_pitch_B != 0) { in isl_calc_row_pitch()
1556 if (surf_info->row_pitch_B < min_row_pitch_B) in isl_calc_row_pitch()
1559 if (surf_info->row_pitch_B % alignment_B != 0) in isl_calc_row_pitch()
1563 const uint32_t row_pitch_B = in isl_calc_row_pitch() local
1564 surf_info->row_pitch_B != 0 ? surf_info->row_pitch_B : min_row_pitch_B; in isl_calc_row_pitch()
1566 const uint32_t row_pitch_tl = row_pitch_B / tile_info->phys_extent_B.width; in isl_calc_row_pitch()
1568 if (row_pitch_B == 0) in isl_calc_row_pitch()
1579 !pitch_in_range(row_pitch_B, RENDER_SURFACE_STATE_SurfacePitch_bits(dev->info))) in isl_calc_row_pitch()
1588 !pitch_in_range(row_pitch_B, _3DSTATE_DEPTH_BUFFER_SurfacePitch_bits(dev->info))) in isl_calc_row_pitch()
[all …]
Disl.h1236 uint32_t row_pitch_B; member
1297 uint32_t row_pitch_B; member
2038 uint32_t row_pitch_B /**< Ignored if 0 */);
2138 return surf->row_pitch_B; in isl_surf_get_row_pitch_B()
2149 assert(surf->row_pitch_B % (fmtl->bpb / 8) == 0); in isl_surf_get_row_pitch_el()
2150 return surf->row_pitch_B / (fmtl->bpb / 8); in isl_surf_get_row_pitch_el()
2188 return isl_surf_get_array_pitch_sa_rows(surf) * surf->row_pitch_B; in isl_surf_get_array_pitch()
2301 uint32_t row_pitch_B,
2311 uint32_t row_pitch_B, in isl_tiling_get_intratile_offset_sa() argument
2329 isl_tiling_get_intratile_offset_el(tiling, fmtl->bpb, row_pitch_B, in isl_tiling_get_intratile_offset_sa()
Disl_emit_depth_stencil.c125 db.SurfacePitch = info->depth_surf->row_pitch_B - 1; in isl_genX()
179 sb.SurfacePitch = info->stencil_surf->row_pitch_B - 1; in isl_genX()
215 hiz.SurfacePitch = info->hiz_surf->row_pitch_B - 1; in isl_genX()
Disl_storage_image.c252 param->stride[1] = surf->row_pitch_B / cpp; in isl_surf_fill_image_param()
Disl_surface_state.c483 s.SurfacePitch = info->surf->row_pitch_B - 1; in isl_genX()
696 info->aux_surf->row_pitch_B / tile_info.phys_extent_B.width; in isl_genX()
/external/mesa3d/src/gallium/drivers/iris/
Diris_resource.c491 uint64_t modifier, uint32_t row_pitch_B) in iris_resource_configure_main() argument
557 .row_pitch_B = row_pitch_B, in iris_resource_configure_main()
781 assert(aux_res->aux.surf.row_pitch_B && aux_res->aux.offset); in import_aux_info()
783 assert(res->aux.surf.row_pitch_B == aux_res->aux.surf.row_pitch_B); in import_aux_info()
968 res->surf.row_pitch_B, flags); in iris_resource_create_with_modifiers()
1103 res->aux.surf.row_pitch_B = whandle->stride; in iris_resource_from_handle()
1187 *value = wants_aux ? res->aux.surf.row_pitch_B : res->surf.row_pitch_B; in iris_resource_get_param()
1242 whandle->stride = res->aux.surf.row_pitch_B; in iris_resource_get_handle()
1246 whandle->stride = res->surf.row_pitch_B; in iris_resource_get_handle()
1516 uint32_t pitch = res->surf.row_pitch_B; in iris_resource_get_aligned_offset()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_mipmap_tree.c354 unsigned row_pitch_B, struct brw_bo *bo) in make_surface() argument
388 .row_pitch_B = row_pitch_B, in make_surface()
421 assert(mt->surf.size_B % mt->surf.row_pitch_B == 0); in make_surface()
429 mt->surf.row_pitch_B, alloc_flags); in make_surface()
1215 uint32_t pitch = mt->surf.row_pitch_B; in intel_miptree_get_aligned_offset()
1389 src_mt, src_x, src_y, src_mt->surf.row_pitch_B, in intel_miptree_copy_slice()
1391 dst_mt, dst_x, dst_y, dst_mt->surf.row_pitch_B, in intel_miptree_copy_slice()
1487 aux_surf->row_pitch_B, alloc_flags); in intel_alloc_aux_buffer()
2472 map->stride = mt->surf.row_pitch_B; in intel_miptree_map_map()
2552 x1, x2, y1, y2, dst, map->ptr, mt->surf.row_pitch_B, map->stride, in intel_miptree_unmap_tiled_memcpy()
[all …]
Dintel_blit.c172 mt->cpp * 8, mt->surf.row_pitch_B, in get_blit_intratile_offset_el()
428 reverse ? -src_mt->surf.row_pitch_B : in emit_miptree_blit()
429 src_mt->surf.row_pitch_B, in emit_miptree_blit()
432 dst_mt->surf.row_pitch_B, in emit_miptree_blit()
718 pitch = mt->surf.row_pitch_B; in intel_miptree_set_alpha_to_one()
Dintel_tex_image.c299 image->mt->surf.row_pitch_B, src_pitch, in intel_texsubimage_tiled_memcpy()
423 intel_image->base.RowStride = mt->surf.row_pitch_B / mt->cpp; in intel_set_texture_image_mt()
424 assert(mt->surf.row_pitch_B % mt->cpp == 0); in intel_set_texture_image_mt()
849 dst_pitch, image->mt->surf.row_pitch_B, in intel_gettexsubimage_tiled_memcpy()
Dintel_pixel_read.c206 dst_pitch, irb->mt->surf.row_pitch_B, in intel_readpixels_tiled_memcpy()
Dintel_screen.c501 image->pitch = mt->surf.row_pitch_B; in intel_setup_image_from_mipmap_tree()
577 image->pitch = irb->mt->surf.row_pitch_B; in intel_create_image_from_renderbuffer()
801 surf.row_pitch_B, BO_ALLOC_ZEROED); in intel_create_image_common()
808 image->pitch = surf.row_pitch_B; in intel_create_image_common()
813 image->aux_pitch = aux_surf.row_pitch_B; in intel_create_image_common()
1166 .row_pitch_B = strides[index], in intel_create_image_from_fds_common()
Dintel_pixel_bitmap.c295 irb->mt->surf.row_pitch_B, in do_blit_bitmap()
Dintel_mipmap_tree.h713 int pitch = mt->surf.row_pitch_B; in intel_miptree_blt_pitch()
Dbrw_misc_state.c294 OUT_BATCH((depth_mt ? depth_mt->surf.row_pitch_B - 1 : 0) | in brw_emit_depth_stencil_hiz()
Dbrw_wm_surface_state.c961 (mt->surf.row_pitch_B - 1) << BRW_SURFACE_PITCH_SHIFT); in gen4_update_renderbuffer_surface()
/external/mesa3d/src/intel/isl/tests/
Disl_surf_get_image_offset_test.c156 t_assert(surf.row_pitch_B == 2048); in test_bdw_2d_r8g8b8a8_unorm_512x512_array01_samples01_noaux_tiley0()
204 t_assert(surf.row_pitch_B == 4096); in test_bdw_2d_r8g8b8a8_unorm_1024x1024_array06_samples01_noaux_tiley0()
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c1289 surf->aux_surf->row_pitch_B, in blorp_ccs_ambiguate()
1378 .row_pitch_B = surf->aux_surf->row_pitch_B, in blorp_ccs_ambiguate()
Dblorp_blit.c2201 info->surf.format, info->surf.row_pitch_B, in shrink_surface_params()
2860 .row_pitch_B = width * block_size, in do_buffer_copy()
/external/mesa3d/src/intel/vulkan/
Danv_image.c592 .row_pitch_B = stride, in make_surface()
614 .row_pitch_B = stride, in make_surface()
1166 layout->rowPitch = surface->isl.row_pitch_B; in anv_GetImageSubresourceLayout()
Danv_blorp.c176 .row_pitch_B = row_pitch, in get_blorp_surf_for_anv_buffer()
Danv_device.c3669 image->planes[0].surface.isl.row_pitch_B, in anv_AllocateMemory()