/external/mesa3d/src/intel/isl/ |
D | isl.c | 1426 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 …]
|
D | isl.h | 1236 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()
|
D | isl_emit_depth_stencil.c | 125 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()
|
D | isl_storage_image.c | 252 param->stride[1] = surf->row_pitch_B / cpp; in isl_surf_fill_image_param()
|
D | isl_surface_state.c | 483 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/ |
D | iris_resource.c | 491 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/ |
D | intel_mipmap_tree.c | 354 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 …]
|
D | intel_blit.c | 172 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()
|
D | intel_tex_image.c | 299 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()
|
D | intel_pixel_read.c | 206 dst_pitch, irb->mt->surf.row_pitch_B, in intel_readpixels_tiled_memcpy()
|
D | intel_screen.c | 501 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()
|
D | intel_pixel_bitmap.c | 295 irb->mt->surf.row_pitch_B, in do_blit_bitmap()
|
D | intel_mipmap_tree.h | 713 int pitch = mt->surf.row_pitch_B; in intel_miptree_blt_pitch()
|
D | brw_misc_state.c | 294 OUT_BATCH((depth_mt ? depth_mt->surf.row_pitch_B - 1 : 0) | in brw_emit_depth_stencil_hiz()
|
D | brw_wm_surface_state.c | 961 (mt->surf.row_pitch_B - 1) << BRW_SURFACE_PITCH_SHIFT); in gen4_update_renderbuffer_surface()
|
/external/mesa3d/src/intel/isl/tests/ |
D | isl_surf_get_image_offset_test.c | 156 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/ |
D | blorp_clear.c | 1289 surf->aux_surf->row_pitch_B, in blorp_ccs_ambiguate() 1378 .row_pitch_B = surf->aux_surf->row_pitch_B, in blorp_ccs_ambiguate()
|
D | blorp_blit.c | 2201 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/ |
D | anv_image.c | 592 .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()
|
D | anv_blorp.c | 176 .row_pitch_B = row_pitch, in get_blorp_surf_for_anv_buffer()
|
D | anv_device.c | 3669 image->planes[0].surface.isl.row_pitch_B, in anv_AllocateMemory()
|