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()
406 const VkAllocationCallbacks* allocator,
411 const VkAllocationCallbacks* allocator,
415 const VkAllocationCallbacks* allocator);
418 const VkAllocationCallbacks* allocator);
426 const VkAllocationCallbacks& allocator);
447 const VkAllocationCallbacks* allocator,
452 const VkAllocationCallbacks* allocator,
469 const VkAllocationCallbacks& allocator);
511 const VkAllocationCallbacks& allocator) in LayerChain() argument
514 allocator_(allocator), in LayerChain()
515 override_layers_(is_instance, allocator), in LayerChain()
516 override_extensions_(is_instance, allocator), in LayerChain()
797 const VkAllocationCallbacks* allocator, in Create() argument
809 result = create_instance(create_info, allocator, &instance); in Create()
819 data.dispatch.DestroyInstance(instance, allocator); in Create()
836 data.dispatch.DestroyInstance(instance, allocator); in Create()
852 data.dispatch.DestroyInstance(instance, allocator); in Create()
870 const VkAllocationCallbacks* allocator, in Create() argument
882 result = create_device(physical_dev, create_info, allocator, &dev); in Create()
891 data.dispatch.DestroyDevice(dev, allocator); in Create()
1022 const VkAllocationCallbacks& allocator) { in DestroyLayers() argument
1026 allocator.pfnFree(allocator.pUserData, layers); in DestroyLayers()
1080 const VkAllocationCallbacks* allocator, in CreateInstance() argument
1084 (allocator) ? *allocator : driver::GetDefaultAllocator()); in CreateInstance()
1101 return chain.Create(create_info, allocator, instance_out); in CreateInstance()
1106 const VkAllocationCallbacks* allocator, in CreateDevice() argument
1111 (allocator) ? *allocator : driver::GetData(physical_dev).allocator); in CreateDevice()
1128 return chain.Create(physical_dev, create_info, allocator, dev_out); in CreateDevice()
1132 const VkAllocationCallbacks* allocator) { in DestroyInstance() argument
1136 data.destroy_debug_callback(instance, data.debug_callback, allocator); in DestroyInstance()
1142 if (!allocator) in DestroyInstance()
1143 local_allocator = driver::GetData(instance).allocator; in DestroyInstance()
1146 data.dispatch.DestroyInstance(instance, allocator); in DestroyInstance()
1149 (allocator) ? *allocator : local_allocator); in DestroyInstance()
1153 const VkAllocationCallbacks* allocator) { in DestroyDevice() argument
1156 data.dispatch.DestroyDevice(device, allocator); in DestroyDevice()