Home
last modified time | relevance | path

Searched refs:surf_size (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_screen_cache.c128 unsigned surf_size; in svga_screen_cache_lookup() local
145 surf_size = 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()
221 unsigned surf_size; in svga_screen_cache_add() local
228 surf_size = surface_size(key); in svga_screen_cache_add()
233 if (surf_size >= SVGA_HOST_SURFACE_CACHE_BYTES) { in svga_screen_cache_add()
240 if (cache->total_size + surf_size > SVGA_HOST_SURFACE_CACHE_BYTES) { in svga_screen_cache_add()
245 unsigned target_size = SVGA_HOST_SURFACE_CACHE_BYTES - surf_size; in svga_screen_cache_add()
[all …]
/external/mesa3d/src/amd/common/
Dac_surface.c306 surf_level->offset = align64(surf->surf_size, AddrSurfInfoOut->baseAlign); in gfx6_compute_level()
330 surf->surf_size = surf_level->offset + AddrSurfInfoOut->surfSize; in gfx6_compute_level()
685 surf->surf_size = 0; in gfx6_compute_surface()
792 surf->dcc_size = align64(surf->surf_size >> 8, in gfx6_compute_surface()
871 surf->u.gfx9.stencil_offset = align(surf->surf_size, out.baseAlign); in gfx9_compute_miptree()
872 surf->surf_size = surf->u.gfx9.stencil_offset + out.surfSize; in gfx9_compute_miptree()
889 surf->surf_size = out.surfSize; in gfx9_compute_miptree()
1148 surf->surf_size = 0; in gfx9_compute_surface()
Dac_surface.h189 uint64_t surf_size; member
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c148 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()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_video.c183 off += surfaces[i]->surf_size; in si_vid_join_surfaces()
Dr600_texture.c885 out->size = fmask.surf_size; in si_texture_get_fmask_info()
1063 rtex->surface.surf_size, in si_print_texture_info()
1120 rtex->surface.surf_size, rtex->surface.surf_alignment, rtex->surface.u.legacy.bankw, in si_print_texture_info()
1218 rtex->size = rtex->surface.surf_size; in r600_texture_create_object()
/external/mesa3d/src/gallium/drivers/r600/
Dradeon_video.c183 off += surfaces[i]->surf_size; in rvid_join_surfaces()
Dr600_test_dma.c295 rctx->clear_buffer(ctx, dst, 0, rdst->surface.surf_size, 0, true); in r600_test_dma()
Dr600_texture.c636 out->size = fmask.surf_size; in r600_texture_get_fmask_info()
822 rtex->surface.surf_size, rtex->surface.surf_alignment, rtex->surface.u.legacy.bankw, in r600_print_texture_info()
907 rtex->size = rtex->surface.surf_size; in r600_texture_create_object()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma.c295 si_clear_buffer(ctx, dst, 0, rdst->surface.surf_size, 0, true); in si_test_dma()
Dcik_sdma.c375 end_linear_address > linear->surface.surf_size) in cik_sdma_copy_texture()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c706 out->size = fmask.surf_size; in radv_image_get_fmask_info()
924 image->size = image->surface.surf_size; in radv_image_create()