Searched refs:allocator_ (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/vulkan/libvulkan/ |
D | api.cpp | 49 allocator_(allocator), in OverrideLayerNames() 58 allocator_.pfnFree(allocator_.pUserData, names_); in ~OverrideLayerNames() 59 allocator_.pfnFree(allocator_.pUserData, implicit_layers_.elements); in ~OverrideLayerNames() 60 allocator_.pfnFree(allocator_.pUserData, implicit_layers_.name_pool); in ~OverrideLayerNames() 225 new_mem = allocator_.pfnReallocation( in GrowImplicitLayerArray() 226 allocator_.pUserData, arr.elements, in GrowImplicitLayerArray() 249 new_mem = allocator_.pfnReallocation( in GrowImplicitLayerArray() 250 allocator_.pUserData, arr.name_pool, new_max_pool_size, in GrowImplicitLayerArray() 286 return reinterpret_cast<const char**>(allocator_.pfnAllocation( in AllocateNameArray() 287 allocator_.pUserData, sizeof(const char*) * count, in AllocateNameArray() [all …]
|
D | driver.cpp | 109 const VkAllocationCallbacks& allocator_; member in vulkan::driver::__anon561087de0111::CreateInfoWrapper 196 allocator_(allocator), in CreateInfoWrapper() 208 allocator_(allocator), in CreateInfoWrapper() 217 allocator_.pfnFree(allocator_.pUserData, extension_filter_.exts); in ~CreateInfoWrapper() 218 allocator_.pfnFree(allocator_.pUserData, extension_filter_.names); in ~CreateInfoWrapper() 345 reinterpret_cast<VkExtensionProperties*>(allocator_.pfnAllocation( in InitExtensionFilter() 346 allocator_.pUserData, sizeof(VkExtensionProperties) * count, in InitExtensionFilter() 367 filter.names = reinterpret_cast<const char**>(allocator_.pfnAllocation( in InitExtensionFilter() 368 allocator_.pUserData, sizeof(const char*) * count, alignof(const char*), in InitExtensionFilter()
|