Lines Matching refs:allocator
520 const VkAllocationCallbacks* allocator, in CreateAndroidSurfaceKHR() argument
524 if (!allocator) in CreateAndroidSurfaceKHR()
525 allocator = &GetData(instance).allocator; in CreateAndroidSurfaceKHR()
526 void* mem = allocator->pfnAllocation(allocator->pUserData, sizeof(Surface), in CreateAndroidSurfaceKHR()
541 allocator->pfnFree(allocator->pUserData, surface); in CreateAndroidSurfaceKHR()
554 allocator->pfnFree(allocator->pUserData, surface); in CreateAndroidSurfaceKHR()
565 const VkAllocationCallbacks* allocator) { in DestroySurfaceKHR() argument
578 if (!allocator) in DestroySurfaceKHR()
579 allocator = &GetData(instance).allocator; in DestroySurfaceKHR()
580 allocator->pfnFree(allocator->pUserData, surface); in DestroySurfaceKHR()
997 const VkAllocationCallbacks* allocator, in CreateSwapchainKHR() argument
1015 if (!allocator) in CreateSwapchainKHR()
1016 allocator = &GetData(device).allocator; in CreateSwapchainKHR()
1267 void* mem = allocator->pfnAllocation(allocator->pUserData, in CreateSwapchainKHR()
1382 allocator->pfnFree(allocator->pUserData, swapchain); in CreateSwapchainKHR()
1394 const VkAllocationCallbacks* allocator) { in DestroySwapchainKHR() argument
1411 if (!allocator) in DestroySwapchainKHR()
1412 allocator = &GetData(device).allocator; in DestroySwapchainKHR()
1414 allocator->pfnFree(allocator->pUserData, swapchain); in DestroySwapchainKHR()
1608 const VkAllocationCallbacks* allocator = &GetData(device).allocator; in QueuePresentKHR() local
1643 allocator->pfnReallocation( in QueuePresentKHR()
1644 allocator->pUserData, rects, in QueuePresentKHR()
1780 allocator->pfnFree(allocator->pUserData, rects); in QueuePresentKHR()