/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_screen_cache.c | 128 unsigned surf_size; in svga_screen_cache_lookup() local 145 surf_size = svga_surface_size(&entry->key); in svga_screen_cache_lookup() 146 assert(surf_size <= cache->total_size); in svga_screen_cache_lookup() 147 if (surf_size > cache->total_size) in svga_screen_cache_lookup() 150 cache->total_size -= surf_size; in svga_screen_cache_lookup() 222 unsigned surf_size; in svga_screen_cache_add() local 229 surf_size = svga_surface_size(key); in svga_screen_cache_add() 234 if (surf_size >= SVGA_HOST_SURFACE_CACHE_BYTES) { in svga_screen_cache_add() 241 if (cache->total_size + surf_size > SVGA_HOST_SURFACE_CACHE_BYTES) { in svga_screen_cache_add() 246 unsigned target_size = SVGA_HOST_SURFACE_CACHE_BYTES - surf_size; in svga_screen_cache_add() [all …]
|
D | svga_winsys.h | 625 unsigned surf_size, SVGA3dSurfaceAllFlags flags);
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface_modifier_test.c | 88 din.dataSurfaceSize = surf->surf_size; in get_addr_from_coord_base() 263 uint64_t surf_size; in test_modifier() local 266 surf_size = block_count(dims[i][0], dims[i][1], in test_modifier() 272 surf_size = align(dims[i][0] * util_format_get_blocksize(format), 256) * dims[i][1]; in test_modifier() 278 assert(surf.surf_size == surf_size); in test_modifier() 279 uint64_t expected_offset = surf_size; in test_modifier()
|
D | ac_surface.c | 695 surf_level->offset_256B = align64(surf->surf_size, AddrSurfInfoOut->baseAlign) / 256; in gfx6_compute_level() 734 surf->surf_size = (uint64_t)surf_level->offset_256B * 256 + AddrSurfInfoOut->surfSize; in gfx6_compute_level() 1225 surf->surf_size = 0; in gfx6_compute_surface() 1376 surf->meta_size = align64(surf->surf_size >> 8, (1 << surf->meta_alignment_log2) * 4); in gfx6_compute_surface() 1385 const unsigned total_pixels = surf->surf_size / surf->bpe; in gfx6_compute_surface() 1745 surf->u.gfx9.zs.stencil_offset = align(surf->surf_size, out.baseAlign); in gfx9_compute_miptree() 1746 surf->surf_size = surf->u.gfx9.zs.stencil_offset + out.surfSize; in gfx9_compute_miptree() 1764 surf->surf_size = out.surfSize; in gfx9_compute_miptree() 1781 surf->surf_size = surf->u.gfx9.surf_slice_size * in->numSlices; in gfx9_compute_miptree() 2328 surf->surf_size = 0; in gfx9_compute_surface() [all …]
|
D | ac_surface.h | 364 uint64_t surf_size; member
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_surface.c | 40 unsigned surf_size, SVGA3dSurfaceAllFlags flags) in vmw_svga_winsys_surface_init() argument 87 memset(data, 0, surf_size + sizeof(SVGA3dDXSOState)); in vmw_svga_winsys_surface_init() 90 memset(data, 0, surf_size); in vmw_svga_winsys_surface_init()
|
D | vmw_surface.h | 102 unsigned surf_size, SVGA3dSurfaceAllFlags flags);
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_surface.c | 148 surf_drm->bo_size = surf_ws->surf_size; in surf_winsys_to_drm() 190 surf_ws->surf_size = surf_drm->bo_size; in surf_drm_to_winsys() 402 surf_ws->fmask_size = fmask.surf_size; in radeon_winsys_surface_init() 435 surf_ws->total_size = surf_ws->surf_size; in radeon_winsys_surface_init()
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.1.4.rst | 96 - ac/surface: adapt surf_size when modifying surf_pitch
|
D | 20.2.0.rst | 3742 - ac/surface: adapt surf_size when modifying surf_pitch
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | radeon_video.c | 185 off += surfaces[i]->surf_size; in rvid_join_surfaces()
|
D | r600_test_dma.c | 294 rctx->clear_buffer(ctx, dst, 0, rdst->surface.surf_size, 0, true); in r600_test_dma()
|
D | r600_texture.c | 654 out->size = fmask.surf_size; in r600_texture_get_fmask_info() 836 rtex->surface.surf_size, 1 << rtex->surface.surf_alignment_log2, rtex->surface.u.legacy.bankw, in r600_print_texture_info() 919 rtex->size = rtex->surface.surf_size; in r600_texture_create_object()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_test_image_copy_region.c | 559 si_clear_buffer(sctx, dst, 0, sdst->surface.surf_size, &zero, 4, SI_OP_SYNC_BEFORE_AFTER, in si_test_image_copy_region() 737 si_clear_buffer(sctx, gfx_dst, 0, ((struct si_texture *)gfx_dst)->surface.surf_size, &zero, in si_test_blit() 739 si_clear_buffer(sctx, comp_dst, 0, ((struct si_texture *)comp_dst)->surface.surf_size, &zero, in si_test_blit()
|
D | si_sdma_copy_image.c | 375 if (start_linear_address < 0 || end_linear_address > linear->surface.surf_size) in cik_sdma_copy_texture()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_state.c | 2389 enum { surf_size = 4 * GENX(RENDER_SURFACE_STATE_length) }; in alloc_surface_states() enumerator 2392 STATIC_ASSERT(surf_size == SURFACE_STATE_ALIGNMENT); in alloc_surface_states() 2401 surf_state->cpu = calloc(surf_state->num_states, surf_size); in alloc_surface_states() 2415 const unsigned surf_size = 4 * GENX(RENDER_SURFACE_STATE_length); in upload_surface_states() local 2416 const unsigned bytes = surf_state->num_states * surf_size; in upload_surface_states()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_image.c | 1732 assert(image->planes[0].surface.surf_size); in radv_image_create_layout()
|