Searched refs:DeviceMemory (Results 1 – 1 of 1) sorted by relevance
764 struct DeviceMemory { struct769 DEFINE_OBJECT_HANDLE_CONVERSION(DeviceMemory) in DEFINE_OBJECT_HANDLE_CONVERSION() argument775 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()