Home
last modified time | relevance | path

Searched refs:base_bo (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/virtio/vulkan/
Dvn_device_memory.c61 &mem->base_bo); in vn_device_memory_simple_alloc()
82 if (mem->base_bo) in vn_device_memory_simple_free()
83 vn_renderer_bo_unref(dev->renderer, mem->base_bo); in vn_device_memory_simple_free()
114 vn_renderer_bo_unref(dev->renderer, pool->memory->base_bo); in vn_device_memory_pool_grow_locked()
115 pool->memory->base_bo = NULL; in vn_device_memory_pool_grow_locked()
133 struct vn_renderer_bo **base_bo, in vn_device_memory_pool_alloc() argument
158 *base_bo = vn_renderer_bo_ref(dev->renderer, pool->memory->base_bo); in vn_device_memory_pool_alloc()
171 struct vn_renderer_bo *base_bo) in vn_device_memory_pool_free() argument
174 if (vn_renderer_bo_unref(dev->renderer, base_bo)) in vn_device_memory_pool_free()
270 mem->base_bo = bo; in vn_device_memory_import_dma_buf()
[all …]
Dvn_device_memory.h30 struct vn_renderer_bo *base_bo; member
Dvn_queue.c355 assert(!wsi_mem->base_memory && wsi_mem->base_bo); in vn_QueueSubmit()
371 .bos = &wsi_mem->base_bo, in vn_QueueSubmit()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_bufmgr.cpp166 struct d3d12_bo *base_bo; in d3d12_bo_map() local
171 base_bo = d3d12_bo_get_base(bo, &offset); in d3d12_bo_map()
185 if (FAILED(base_bo->res->Map(0, range, &ptr))) in d3d12_bo_map()
194 struct d3d12_bo *base_bo; in d3d12_bo_unmap() local
198 base_bo = d3d12_bo_get_base(bo, &offset); in d3d12_bo_unmap()
200 if (!range || bo == base_bo) in d3d12_bo_unmap()
205 offset_range.End = offset + base_bo->res->GetDesc().Width; in d3d12_bo_unmap()
213 base_bo->res->Unmap(0, range); in d3d12_bo_unmap()
Dd3d12_bufmgr.h88 struct d3d12_bo *base_bo; in d3d12_bo_is_suballocated() local
94 base_bo = d3d12_bo_get_base(bo, &offset); in d3d12_bo_is_suballocated()
95 return d3d12_bo_get_size(base_bo) != d3d12_bo_get_size(bo); in d3d12_bo_is_suballocated()