Home
last modified time | relevance | path

Searched refs:alloc_callbacks (Results 1 – 3 of 3) sorted by relevance

/external/vulkan-validation-layers/loader/
Dloader.c175 if (instance && instance->alloc_callbacks.pfnAllocation) { in loader_heap_alloc()
177 return instance->alloc_callbacks.pfnAllocation( in loader_heap_alloc()
178 instance->alloc_callbacks.pUserData, size, sizeof(int), in loader_heap_alloc()
187 if (instance && instance->alloc_callbacks.pfnFree) { in loader_heap_free()
188 instance->alloc_callbacks.pfnFree(instance->alloc_callbacks.pUserData, in loader_heap_free()
205 if (instance && instance->alloc_callbacks.pfnAllocation) { in loader_heap_realloc()
211 void *new_ptr = instance->alloc_callbacks.pfnAllocation( in loader_heap_realloc()
212 instance->alloc_callbacks.pUserData, size, sizeof(int), in loader_heap_realloc()
217 instance->alloc_callbacks.pfnFree(instance->alloc_callbacks.pUserData, in loader_heap_realloc()
Dloader.h298 VkAllocationCallbacks alloc_callbacks; member
Dtrampoline.c271 ptr_instance->alloc_callbacks = *pAllocator;