Lines Matching refs:allocator

102                       const VkAllocationCallbacks& allocator);
105 const VkAllocationCallbacks& allocator);
332 const VkAllocationCallbacks& allocator) in CreateInfoWrapper() argument
334 allocator_(allocator), in CreateInfoWrapper()
348 const VkAllocationCallbacks& allocator) in CreateInfoWrapper() argument
350 allocator_(allocator), in CreateInfoWrapper()
723 InstanceData* AllocateInstanceData(const VkAllocationCallbacks& allocator) { in AllocateInstanceData() argument
724 void* data_mem = allocator.pfnAllocation( in AllocateInstanceData()
725 allocator.pUserData, sizeof(InstanceData), alignof(InstanceData), in AllocateInstanceData()
730 return new (data_mem) InstanceData(allocator); in AllocateInstanceData()
734 const VkAllocationCallbacks& allocator) { in FreeInstanceData() argument
736 allocator.pfnFree(allocator.pUserData, data); in FreeInstanceData()
740 const VkAllocationCallbacks& allocator, in AllocateDeviceData() argument
742 void* data_mem = allocator.pfnAllocation( in AllocateDeviceData()
743 allocator.pUserData, sizeof(DeviceData), alignof(DeviceData), in AllocateDeviceData()
748 return new (data_mem) DeviceData(allocator, debug_report_callbacks); in AllocateDeviceData()
751 void FreeDeviceData(DeviceData* data, const VkAllocationCallbacks& allocator) { in FreeDeviceData() argument
753 allocator.pfnFree(allocator.pUserData, data); in FreeDeviceData()
1127 local_allocator = data.allocator; in DestroyInstance()
1140 (pAllocator) ? *pAllocator : instance_data.allocator; in CreateDevice()
1225 local_allocator = data.allocator; in DestroyDevice()