Home
last modified time | relevance | path

Searched refs:DeviceMemory (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp764 struct DeviceMemory { struct
769 DEFINE_OBJECT_HANDLE_CONVERSION(DeviceMemory) in DEFINE_OBJECT_HANDLE_CONVERSION() argument
775 if (SIZE_MAX - sizeof(DeviceMemory) <= alloc_info->allocationSize) in DEFINE_OBJECT_HANDLE_CONVERSION()
780 size_t size = sizeof(DeviceMemory) + size_t(alloc_info->allocationSize); in DEFINE_OBJECT_HANDLE_CONVERSION()
781 DeviceMemory* mem = static_cast<DeviceMemory*>(allocator->pfnAllocation( in DEFINE_OBJECT_HANDLE_CONVERSION()
782 allocator->pUserData, size, alignof(DeviceMemory), in DEFINE_OBJECT_HANDLE_CONVERSION()
796 DeviceMemory* mem = GetDeviceMemoryFromHandle(mem_handle); in FreeMemory()
806 DeviceMemory* mem = GetDeviceMemoryFromHandle(mem_handle); in MapMemory()