Lines Matching refs:pAllocator
1031 const VkAllocationCallbacks* pAllocator, in CreateInstance() argument
1034 (pAllocator) ? *pAllocator : GetDefaultAllocator(); in CreateInstance()
1084 static_cast<const VkInstanceCreateInfo*>(wrapper), pAllocator, in CreateInstance()
1099 data->driver.DestroyInstance(instance, pAllocator); in CreateInstance()
1109 data->driver.DestroyInstance(instance, pAllocator); in CreateInstance()
1121 const VkAllocationCallbacks* pAllocator) { in DestroyInstance() argument
1123 data.driver.DestroyInstance(instance, pAllocator); in DestroyInstance()
1126 if (!pAllocator) { in DestroyInstance()
1128 pAllocator = &local_allocator; in DestroyInstance()
1131 FreeInstanceData(&data, *pAllocator); in DestroyInstance()
1136 const VkAllocationCallbacks* pAllocator, in CreateDevice() argument
1140 (pAllocator) ? *pAllocator : instance_data.allocator; in CreateDevice()
1168 pAllocator, &dev); in CreateDevice()
1182 data->driver.DestroyDevice(dev, pAllocator); in CreateDevice()
1199 data->driver.DestroyDevice(dev, pAllocator); in CreateDevice()
1219 void DestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator) { in DestroyDevice() argument
1221 data.driver.DestroyDevice(device, pAllocator); in DestroyDevice()
1224 if (!pAllocator) { in DestroyDevice()
1226 pAllocator = &local_allocator; in DestroyDevice()
1229 FreeDeviceData(&data, *pAllocator); in DestroyDevice()