Lines Matching refs:allocator
55 OverrideLayerNames(bool is_instance, const VkAllocationCallbacks& allocator) in OverrideLayerNames() argument
57 allocator_(allocator), in OverrideLayerNames()
334 const VkAllocationCallbacks& allocator) in OverrideExtensionNames() argument
336 allocator_(allocator), in OverrideExtensionNames()
405 const VkAllocationCallbacks* allocator,
410 const VkAllocationCallbacks* allocator,
414 const VkAllocationCallbacks* allocator);
417 const VkAllocationCallbacks* allocator);
425 const VkAllocationCallbacks& allocator);
446 const VkAllocationCallbacks* allocator,
451 const VkAllocationCallbacks* allocator,
468 const VkAllocationCallbacks& allocator);
510 const VkAllocationCallbacks& allocator) in LayerChain() argument
513 allocator_(allocator), in LayerChain()
514 override_layers_(is_instance, allocator), in LayerChain()
515 override_extensions_(is_instance, allocator), in LayerChain()
792 const VkAllocationCallbacks* allocator, in Create() argument
804 result = create_instance(create_info, allocator, &instance); in Create()
814 data.dispatch.DestroyInstance(instance, allocator); in Create()
831 data.dispatch.DestroyInstance(instance, allocator); in Create()
847 data.dispatch.DestroyInstance(instance, allocator); in Create()
865 const VkAllocationCallbacks* allocator, in Create() argument
877 result = create_device(physical_dev, create_info, allocator, &dev); in Create()
886 data.dispatch.DestroyDevice(dev, allocator); in Create()
1017 const VkAllocationCallbacks& allocator) { in DestroyLayers() argument
1021 allocator.pfnFree(allocator.pUserData, layers); in DestroyLayers()
1075 const VkAllocationCallbacks* allocator, in CreateInstance() argument
1079 (allocator) ? *allocator : driver::GetDefaultAllocator()); in CreateInstance()
1096 return chain.Create(create_info, allocator, instance_out); in CreateInstance()
1101 const VkAllocationCallbacks* allocator, in CreateDevice() argument
1106 (allocator) ? *allocator : driver::GetData(physical_dev).allocator); in CreateDevice()
1123 return chain.Create(physical_dev, create_info, allocator, dev_out); in CreateDevice()
1127 const VkAllocationCallbacks* allocator) { in DestroyInstance() argument
1131 data.destroy_debug_callback(instance, data.debug_callback, allocator); in DestroyInstance()
1137 if (!allocator) in DestroyInstance()
1138 local_allocator = driver::GetData(instance).allocator; in DestroyInstance()
1141 data.dispatch.DestroyInstance(instance, allocator); in DestroyInstance()
1144 (allocator) ? *allocator : local_allocator); in DestroyInstance()
1148 const VkAllocationCallbacks* allocator) { in DestroyDevice() argument
1151 data.dispatch.DestroyDevice(device, allocator); in DestroyDevice()