• Home
  • Raw
  • Download

Lines Matching refs:allocator

90                       const VkAllocationCallbacks& allocator);
93 const VkAllocationCallbacks& allocator);
290 const VkAllocationCallbacks& allocator) in CreateInfoWrapper() argument
292 allocator_(allocator), in CreateInfoWrapper()
302 const VkAllocationCallbacks& allocator) in CreateInfoWrapper() argument
304 allocator_(allocator), in CreateInfoWrapper()
588 InstanceData* AllocateInstanceData(const VkAllocationCallbacks& allocator) { in AllocateInstanceData() argument
589 void* data_mem = allocator.pfnAllocation( in AllocateInstanceData()
590 allocator.pUserData, sizeof(InstanceData), alignof(InstanceData), in AllocateInstanceData()
595 return new (data_mem) InstanceData(allocator); in AllocateInstanceData()
599 const VkAllocationCallbacks& allocator) { in FreeInstanceData() argument
601 allocator.pfnFree(allocator.pUserData, data); in FreeInstanceData()
605 const VkAllocationCallbacks& allocator, in AllocateDeviceData() argument
607 void* data_mem = allocator.pfnAllocation( in AllocateDeviceData()
608 allocator.pUserData, sizeof(DeviceData), alignof(DeviceData), in AllocateDeviceData()
613 return new (data_mem) DeviceData(allocator, debug_report_callbacks); in AllocateDeviceData()
616 void FreeDeviceData(DeviceData* data, const VkAllocationCallbacks& allocator) { in FreeDeviceData() argument
618 allocator.pfnFree(allocator.pUserData, data); in FreeDeviceData()
952 local_allocator = data.allocator; in DestroyInstance()
965 (pAllocator) ? *pAllocator : instance_data.allocator; in CreateDevice()
1037 local_allocator = data.allocator; in DestroyDevice()