Lines Matching refs:pAllocator
1004 const VkAllocationCallbacks* pAllocator, in CreateInstance() argument
1007 (pAllocator) ? *pAllocator : GetDefaultAllocator(); in CreateInstance()
1057 static_cast<const VkInstanceCreateInfo*>(wrapper), pAllocator, in CreateInstance()
1072 data->driver.DestroyInstance(instance, pAllocator); in CreateInstance()
1082 data->driver.DestroyInstance(instance, pAllocator); in CreateInstance()
1094 const VkAllocationCallbacks* pAllocator) { in DestroyInstance() argument
1096 data.driver.DestroyInstance(instance, pAllocator); in DestroyInstance()
1099 if (!pAllocator) { in DestroyInstance()
1101 pAllocator = &local_allocator; in DestroyInstance()
1104 FreeInstanceData(&data, *pAllocator); in DestroyInstance()
1109 const VkAllocationCallbacks* pAllocator, in CreateDevice() argument
1113 (pAllocator) ? *pAllocator : instance_data.allocator; in CreateDevice()
1134 pAllocator, &dev); in CreateDevice()
1148 data->driver.DestroyDevice(dev, pAllocator); in CreateDevice()
1165 data->driver.DestroyDevice(dev, pAllocator); in CreateDevice()
1191 void DestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator) { in DestroyDevice() argument
1193 data.driver.DestroyDevice(device, pAllocator); in DestroyDevice()
1196 if (!pAllocator) { in DestroyDevice()
1198 pAllocator = &local_allocator; in DestroyDevice()
1201 FreeDeviceData(&data, *pAllocator); in DestroyDevice()