| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_suballoc.c | 29 /* A simple allocator that suballocates memory from a large buffer. */ 67 struct u_suballocator *allocator = CALLOC_STRUCT(u_suballocator); local in function:u_suballocator_create 68 if (!allocator) 71 allocator->pipe = pipe; 72 allocator->size = size; 73 allocator->bind = bind; 74 allocator->usage = usage; 75 allocator->flags = flags; 76 allocator->zero_buffer_memory = zero_buffer_memory; 77 return allocator; 81 u_suballocator_destroy(struct u_suballocator * allocator) argument 88 u_suballocator_alloc(struct u_suballocator * allocator,unsigned size,unsigned alignment,unsigned * out_offset,struct pipe_resource ** outbuf) argument [all...] |
| H A D | u_suballoc.h | 29 /* A simple allocator that suballocates memory from a large buffer. */ 42 u_suballocator_destroy(struct u_suballocator *allocator); 45 u_suballocator_alloc(struct u_suballocator *allocator, unsigned size,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| H A D | u_suballoc.c | 29 /* A simple allocator that suballocates memory from a large buffer. */ 48 u_suballocator_init(struct u_suballocator *allocator, argument 54 memset(allocator, 0, sizeof(*allocator)); 56 allocator->pipe = pipe; 57 allocator->size = size; 58 allocator->bind = bind; 59 allocator->usage = usage; 60 allocator->flags = flags; 61 allocator 65 u_suballocator_destroy(struct u_suballocator * allocator) argument 71 u_suballocator_alloc(struct u_suballocator * allocator,unsigned size,unsigned alignment,unsigned * out_offset,struct pipe_resource ** outbuf) argument [all...] |
| H A D | u_suballoc.h | 29 /* A simple allocator that suballocates memory from a large buffer. */ 54 u_suballocator_init(struct u_suballocator *allocator, 61 u_suballocator_destroy(struct u_suballocator *allocator); 64 u_suballocator_alloc(struct u_suballocator *allocator, unsigned size,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| H A D | nine_memory_helper.h | 36 nine_allocate(struct nine_allocator *allocator, unsigned size); 39 void nine_free(struct nine_allocator *allocator, struct nine_allocation *allocation); 40 void nine_free_worker(struct nine_allocator *allocator, struct nine_allocation *allocation); 42 void *nine_get_pointer(struct nine_allocator *allocator, struct nine_allocation *allocation); 45 void nine_pointer_weakrelease(struct nine_allocator *allocator, struct nine_allocation *allocation); 48 void nine_pointer_strongrelease(struct nine_allocator *allocator, struct nine_allocation *allocation); 52 void nine_pointer_delayedstrongrelease(struct nine_allocator *allocator, 59 nine_suballocate(struct nine_allocator* allocator, struct nine_allocation *allocation, int offset); 63 nine_wrap_external_pointer(struct nine_allocator* allocator, void* data); 73 nine_allocator_destroy(struct nine_allocator *allocator); [all...] |
| H A D | nine_memory_helper.c | 307 debug_dump_allocator_state(struct nine_allocator *allocator) argument 310 DBG("Total allocated: %lld\n", allocator->total_allocations); 311 DBG("Total virtual memory locked: %lld\n", allocator->total_locked_memory); 312 DBG("Virtual memory used: %lld / %lld\n", allocator->total_virtual_memory, allocator->total_virtual_memory_limit); 313 DBG("Num memfd files: %d / %d\n", allocator->num_fd, allocator->num_fd_max); 368 static void move_region_ordered_merge(struct nine_allocator *allocator, struct list_head *tail, struct nine_memfd_file_region *region) argument 389 slab_free_st(&allocator->region_pool, region); 390 slab_free_st(&allocator 406 allocate_region(struct nine_allocator * allocator,unsigned offset,unsigned size) argument 423 insert_new_allocation(struct nine_allocator * allocator,struct nine_allocation * new_allocation,unsigned allocation_size) argument 474 nine_flush_pending_releases(struct nine_allocator * allocator) argument 502 nine_flush_pending_frees(struct nine_allocator * allocator) argument 534 nine_memfd_unmap_region(struct nine_allocator * allocator,struct nine_memfd_file * memfd_file,struct nine_memfd_file_region * region) argument 554 remove_allocation(struct nine_allocator * allocator,struct nine_memfd_file * memfd_file,struct nine_memfd_file_region * region) argument 578 nine_memfd_try_unmap_file(struct nine_allocator * allocator,int memfd_index,bool weak) argument 600 nine_memfd_files_unmap(struct nine_allocator * allocator,bool unmap_everything_possible) argument 659 nine_memfd_region_map(struct nine_allocator * allocator,struct nine_memfd_file * memfd_file,struct nine_memfd_file_region * region) argument 688 nine_memfd_allocator(struct nine_allocator * allocator,struct nine_allocation * new_allocation,unsigned allocation_size) argument 758 nine_allocate(struct nine_allocator * allocator,unsigned size) argument 814 nine_free_internal(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 839 nine_free(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 850 nine_free_worker(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 861 nine_get_pointer(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 903 nine_pointer_weakrelease(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 923 nine_pointer_strongrelease(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 943 nine_pointer_delayedstrongrelease(struct nine_allocator * allocator,struct nine_allocation * allocation,unsigned * counter) argument 958 nine_suballocate(struct nine_allocator * allocator,struct nine_allocation * allocation,int offset) argument 989 nine_wrap_external_pointer(struct nine_allocator * allocator,void * data) argument 1004 struct nine_allocator* allocator = MALLOC(sizeof(struct nine_allocator)); local in function:nine_allocator_create 1032 nine_allocator_destroy(struct nine_allocator * allocator) argument 1074 nine_allocate(struct nine_allocator * allocator,unsigned size) argument 1085 nine_free(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 1095 nine_free_worker(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 1100 nine_get_pointer(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 1108 nine_pointer_weakrelease(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 1114 nine_pointer_strongrelease(struct nine_allocator * allocator,struct nine_allocation * allocation) argument 1120 nine_pointer_delayedstrongrelease(struct nine_allocator * allocator,struct nine_allocation * allocation,unsigned * counter) argument 1130 nine_suballocate(struct nine_allocator * allocator,struct nine_allocation * allocation,int offset) argument 1142 nine_wrap_external_pointer(struct nine_allocator * allocator,void * data) argument 1156 struct nine_allocator* allocator = MALLOC(sizeof(struct nine_allocator)); local in function:nine_allocator_create 1170 nine_allocator_destroy(struct nine_allocator * allocator) argument [all...] |
| H A D | surface9.c | 157 This->data_internal = nine_allocate(pParams->device->allocator, 171 This->data = nine_allocate(pParams->device->allocator, 235 nine_pointer_strongrelease(This->base.base.device->allocator, 242 nine_free_worker(This->base.base.device->allocator, This->data); 244 nine_free(This->base.base.device->allocator, This->data); 248 nine_free_worker(This->base.base.device->allocator, This->data_internal); 250 nine_free(This->base.base.device->allocator, This->data_internal); 499 uint8_t *data = nine_get_pointer(This->base.base.device->allocator, This->data_internal ? This->data_internal : This->data); 571 nine_pointer_weakrelease(This->base.base.device->allocator, This->data_internal); 574 nine_get_pointer(This->base.base.device->allocator, Thi [all...] |
| H A D | cubetexture9.c | 124 This->managed_buffer = nine_allocate(pParams->device->allocator, 6 * face_size); 152 nine_suballocate(pParams->device->allocator, This->managed_buffer, offset + level_offsets[l]) : NULL; 189 nine_free_worker(This->base.base.base.device->allocator, This->managed_buffer); 191 nine_free(This->base.base.base.device->allocator, This->managed_buffer);
|
| H A D | texture9.c | 161 user_buffer = nine_wrap_external_pointer(pParams->device->allocator, (void *)*pSharedHandle); 168 user_buffer = nine_allocate(pParams->device->allocator, 198 nine_suballocate(pParams->device->allocator, user_buffer, level_offsets[l]) : NULL; 238 nine_free_worker(This->base.base.base.device->allocator, This->managed_buffer); 240 nine_free(This->base.base.base.device->allocator, This->managed_buffer);
|
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| H A D | anv_wsi_display.c | 33 const VkAllocationCallbacks *allocator, 40 fence = vk_object_zalloc(&device->vk, allocator, sizeof (*fence), 50 allocator, 56 vk_free2(&device->vk.alloc, allocator, fence); 64 const VkAllocationCallbacks *allocator, 71 fence = vk_object_zalloc(&device->vk, allocator, sizeof (*fence), 80 display, display_event_info, allocator, &fence->permanent.fence_wsi, -1); 85 vk_free2(&device->vk.alloc, allocator, fence); 31 anv_RegisterDeviceEventEXT(VkDevice _device,const VkDeviceEventInfoEXT * device_event_info,const VkAllocationCallbacks * allocator,VkFence * _fence) argument 61 anv_RegisterDisplayEventEXT(VkDevice _device,VkDisplayKHR display,const VkDisplayEventInfoEXT * display_event_info,const VkAllocationCallbacks * allocator,VkFence * _fence) argument
|
| /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/ |
| H A D | vn_query_pool.h | 19 VkAllocationCallbacks allocator; member in struct:vn_query_pool
|
| H A D | vn_command_buffer.h | 21 VkAllocationCallbacks allocator; member in struct:vn_command_pool 53 VkAllocationCallbacks allocator; member in struct:vn_command_buffer
|
| H A D | vn_query_pool.c | 37 pool->allocator = *alloc; 79 alloc = pAllocator ? pAllocator : &pool->allocator; 111 const VkAllocationCallbacks *alloc = &pool->allocator;
|
| H A D | vn_descriptor_set.h | 52 VkAllocationCallbacks allocator; member in struct:vn_descriptor_pool
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | radv_wsi_display.c | 48 const VkAllocationCallbacks *allocator, VkFence *_fence) 63 allocator, _fence); 75 device_event_info, allocator, NULL, fd); 80 radv_DestroyFence(_device, *_fence, allocator); 88 const VkAllocationCallbacks *allocator, VkFence *_fence) 103 allocator, _fence); 115 display_event_info, allocator, NULL, fd); 120 radv_DestroyFence(_device, *_fence, allocator); 47 radv_RegisterDeviceEventEXT(VkDevice _device,const VkDeviceEventInfoEXT * device_event_info,const VkAllocationCallbacks * allocator,VkFence * _fence) argument 86 radv_RegisterDisplayEventEXT(VkDevice _device,VkDisplayKHR display,const VkDisplayEventInfoEXT * display_event_info,const VkAllocationCallbacks * allocator,VkFence * _fence) argument
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/ |
| H A D | tu_wsi_display.c | 42 const VkAllocationCallbacks *allocator, 49 ret = tu_CreateFence(_device, &(VkFenceCreateInfo) {}, allocator, &_fence); 60 allocator, 70 tu_DestroyFence(_device, _fence, allocator); 81 const VkAllocationCallbacks *allocator, 87 ret = tu_CreateFence(_device, &(VkFenceCreateInfo) {}, allocator, _fence); 99 allocator, 109 tu_DestroyFence(_device, *_fence, allocator); 40 tu_RegisterDeviceEventEXT(VkDevice _device,const VkDeviceEventInfoEXT * device_event_info,const VkAllocationCallbacks * allocator,VkFence * out_fence) argument 78 tu_RegisterDisplayEventEXT(VkDevice _device,VkDisplayKHR display,const VkDisplayEventInfoEXT * display_event_info,const VkAllocationCallbacks * allocator,VkFence * _fence) argument
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/ |
| H A D | wsi_common_display.h | 35 const VkAllocationCallbacks *allocator, 44 const VkAllocationCallbacks *allocator,
|
| H A D | wsi_common_win32.c | 90 const VkAllocationCallbacks *allocator, 94 VkIcdSurfaceWin32 *surface = vk_zalloc(allocator, sizeof *surface, 8, 461 const VkAllocationCallbacks *allocator, 504 const VkAllocationCallbacks *allocator, 518 const VkAllocationCallbacks *allocator) 524 wsi_win32_image_finish(drv_chain, allocator, &chain->images[i]); 529 vk_free(allocator, chain); 601 const VkAllocationCallbacks *allocator, 614 chain = vk_zalloc(allocator, size, 621 create_info, allocator); 89 wsi_create_win32_surface(VkInstance instance,const VkAllocationCallbacks * allocator,const VkWin32SurfaceCreateInfoKHR * create_info,VkSurfaceKHR * surface_khr) argument 458 wsi_win32_image_init(VkDevice device_h,struct wsi_swapchain * drv_chain,const VkSwapchainCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,struct wsi_win32_image * image) argument 503 wsi_win32_image_finish(struct wsi_swapchain * drv_chain,const VkAllocationCallbacks * allocator,struct wsi_win32_image * image) argument 517 wsi_win32_swapchain_destroy(struct wsi_swapchain * drv_chain,const VkAllocationCallbacks * allocator) argument 596 wsi_win32_surface_create_swapchain(VkIcdSurfaceBase * icd_surface,VkDevice device,struct wsi_device * wsi_device,const VkSwapchainCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,struct wsi_swapchain ** swapchain_out) argument [all...] |
| H A D | wsi_common_display.c | 1019 const VkAllocationCallbacks *allocator, 1092 const VkAllocationCallbacks *allocator, 1107 const VkAllocationCallbacks *allocator) 1113 wsi_display_image_finish(drv_chain, allocator, &chain->images[i]); 1116 vk_free(allocator, chain); 1567 const VkAllocationCallbacks *allocator, 1573 vk_zalloc2(wsi->alloc, allocator, sizeof (*fence), 1582 vk_free2(wsi->alloc, allocator, fence); 1590 fence->base.alloc = allocator ? allocator 1016 wsi_display_image_init(VkDevice device_h,struct wsi_swapchain * drv_chain,const VkSwapchainCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,struct wsi_display_image * image) argument 1091 wsi_display_image_finish(struct wsi_swapchain * drv_chain,const VkAllocationCallbacks * allocator,struct wsi_display_image * image) argument 1106 wsi_display_swapchain_destroy(struct wsi_swapchain * drv_chain,const VkAllocationCallbacks * allocator) argument 1564 wsi_display_fence_alloc(VkDevice device,const struct wsi_device * wsi_device,VkDisplayKHR display,const VkAllocationCallbacks * allocator,int sync_fd) argument 1799 wsi_display_surface_create_swapchain(VkIcdSurfaceBase * icd_surface,VkDevice device,struct wsi_device * wsi_device,const VkSwapchainCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,struct wsi_swapchain ** swapchain_out) argument 2531 wsi_register_device_event(VkDevice device,struct wsi_device * wsi_device,const VkDeviceEventInfoEXT * device_event_info,const VkAllocationCallbacks * allocator,struct wsi_fence ** fence_p,int sync_fd) argument 2551 wsi_register_display_event(VkDevice device,struct wsi_device * wsi_device,VkDisplayKHR display,const VkDisplayEventInfoEXT * display_event_info,const VkAllocationCallbacks * allocator,struct wsi_fence ** fence_p,int sync_fd) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | radv_wsi_display.c | 154 const VkAllocationCallbacks *allocator, 163 allocator, 199 const VkAllocationCallbacks *allocator, 205 if (allocator) 206 alloc = allocator; 273 const VkAllocationCallbacks *allocator, 280 fence = vk_alloc2(&device->instance->alloc, allocator, sizeof (*fence), 294 allocator, 299 vk_free2(&device->instance->alloc, allocator, fence); 307 const VkAllocationCallbacks *allocator, 151 radv_CreateDisplayModeKHR(VkPhysicalDevice physical_device,VkDisplayKHR display,const VkDisplayModeCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,VkDisplayModeKHR * mode) argument 196 radv_CreateDisplayPlaneSurfaceKHR(VkInstance _instance,const VkDisplaySurfaceCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,VkSurfaceKHR * surface) argument 271 radv_RegisterDeviceEventEXT(VkDevice _device,const VkDeviceEventInfoEXT * device_event_info,const VkAllocationCallbacks * allocator,VkFence * _fence) argument 304 radv_RegisterDisplayEventEXT(VkDevice _device,VkDisplayKHR display,const VkDisplayEventInfoEXT * display_event_info,const VkAllocationCallbacks * allocator,VkFence * _fence) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| H A D | anv_wsi_display.c | 133 const VkAllocationCallbacks *allocator, 142 allocator, 179 const VkAllocationCallbacks *allocator, 185 if (allocator) 186 alloc = allocator; 251 const VkAllocationCallbacks *allocator, 258 fence = vk_zalloc2(&device->instance->alloc, allocator, sizeof (*fence), 8, 268 allocator, 273 vk_free2(&device->instance->alloc, allocator, fence); 281 const VkAllocationCallbacks *allocator, 130 anv_CreateDisplayModeKHR(VkPhysicalDevice physical_device,VkDisplayKHR display,const VkDisplayModeCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,VkDisplayModeKHR * mode) argument 176 anv_CreateDisplayPlaneSurfaceKHR(VkInstance _instance,const VkDisplaySurfaceCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,VkSurfaceKHR * surface) argument 249 anv_RegisterDeviceEventEXT(VkDevice _device,const VkDeviceEventInfoEXT * device_event_info,const VkAllocationCallbacks * allocator,VkFence * _fence) argument 278 anv_RegisterDisplayEventEXT(VkDevice _device,VkDisplayKHR display,const VkDisplayEventInfoEXT * display_event_info,const VkAllocationCallbacks * allocator,VkFence * _fence) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/vulkan/util/ |
| H A D | vk_alloc.c | 49 static const VkAllocationCallbacks allocator = { local in function:vk_default_allocator 54 return &allocator;
|
| /xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/ |
| H A D | wsi_common_display.h | 90 const VkAllocationCallbacks *allocator, 145 const VkAllocationCallbacks *allocator, 153 const VkAllocationCallbacks *allocator,
|
| H A D | wsi_common_display.c | 693 const VkAllocationCallbacks *allocator, 786 const VkAllocationCallbacks *allocator, 790 VkIcdSurfaceDisplay *surface = vk_zalloc(allocator, sizeof *surface, 8, 985 const VkAllocationCallbacks *allocator, 1058 const VkAllocationCallbacks *allocator, 1073 const VkAllocationCallbacks *allocator) 1079 wsi_display_image_finish(drv_chain, allocator, &chain->images[i]); 1082 vk_free(allocator, chain); 1513 const VkAllocationCallbacks *allocator) 1518 vk_zalloc2(wsi->alloc, allocator, sizeo 689 wsi_display_create_display_mode(VkPhysicalDevice physical_device,struct wsi_device * wsi_device,VkDisplayKHR display,const VkDisplayModeCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,VkDisplayModeKHR * mode) argument 785 wsi_create_display_surface(VkInstance instance,const VkAllocationCallbacks * allocator,const VkDisplaySurfaceCreateInfoKHR * create_info,VkSurfaceKHR * surface_khr) argument 982 wsi_display_image_init(VkDevice device_h,struct wsi_swapchain * drv_chain,const VkSwapchainCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,struct wsi_display_image * image) argument 1057 wsi_display_image_finish(struct wsi_swapchain * drv_chain,const VkAllocationCallbacks * allocator,struct wsi_display_image * image) argument 1072 wsi_display_swapchain_destroy(struct wsi_swapchain * drv_chain,const VkAllocationCallbacks * allocator) argument 1510 wsi_display_fence_alloc(VkDevice device,const struct wsi_device * wsi_device,VkDisplayKHR display,const VkAllocationCallbacks * allocator) argument 1727 wsi_display_surface_create_swapchain(VkIcdSurfaceBase * icd_surface,VkDevice device,struct wsi_device * wsi_device,const VkSwapchainCreateInfoKHR * create_info,const VkAllocationCallbacks * allocator,struct wsi_swapchain ** swapchain_out) argument 2456 wsi_register_device_event(VkDevice device,struct wsi_device * wsi_device,const VkDeviceEventInfoEXT * device_event_info,const VkAllocationCallbacks * allocator,struct wsi_fence ** fence_p) argument 2466 wsi_register_display_event(VkDevice device,struct wsi_device * wsi_device,VkDisplayKHR display,const VkDisplayEventInfoEXT * display_event_info,const VkAllocationCallbacks * allocator,struct wsi_fence ** fence_p) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 18.0.3.rst | 53 - anv/allocator: Don't shrink either end of the block pool
|