Lines Matching refs:memObjMap
135 unordered_map<VkDeviceMemory, DEVICE_MEM_INFO> memObjMap; member
480 auto item = dev_data->memObjMap.find(mem); in get_mem_obj_info()
481 if (item != dev_data->memObjMap.end()) { in get_mem_obj_info()
492 memcpy(&my_data->memObjMap[mem].allocInfo, pAllocateInfo, sizeof(VkMemoryAllocateInfo)); in add_mem_obj_info()
494 my_data->memObjMap[mem].allocInfo.pNext = NULL; in add_mem_obj_info()
495 my_data->memObjMap[mem].object = object; in add_mem_obj_info()
496 my_data->memObjMap[mem].refCount = 0; in add_mem_obj_info()
497 my_data->memObjMap[mem].mem = mem; in add_mem_obj_info()
498 my_data->memObjMap[mem].image = VK_NULL_HANDLE; in add_mem_obj_info()
499 my_data->memObjMap[mem].memRange.offset = 0; in add_mem_obj_info()
500 my_data->memObjMap[mem].memRange.size = 0; in add_mem_obj_info()
501 my_data->memObjMap[mem].pData = 0; in add_mem_obj_info()
502 my_data->memObjMap[mem].pDriverData = 0; in add_mem_obj_info()
503 my_data->memObjMap[mem].valid = false; in add_mem_obj_info()
665 auto item = my_data->memObjMap.find(mem); in deleteMemObjInfo()
666 if (item != my_data->memObjMap.end()) { in deleteMemObjInfo()
667 my_data->memObjMap.erase(item); in deleteMemObjInfo()
942 dev_data->memObjMap.size()); in print_mem_list()
946 if (dev_data->memObjMap.size() <= 0) in print_mem_list()
949 for (auto ii = dev_data->memObjMap.begin(); ii != dev_data->memObjMap.end(); ++ii) { in print_mem_list()
4785 if (dev_data->memObjMap.size() > 0) { in vkDestroyDevice()
4786 for (auto ii = dev_data->memObjMap.begin(); ii != dev_data->memObjMap.end(); ++ii) { in vkDestroyDevice()
5392 auto mem_element = my_data->memObjMap.find(mem); in validateMemRange()
5393 if (mem_element != my_data->memObjMap.end()) { in validateMemRange()
5422 auto mem_element = my_data->memObjMap.find(mem); in storeMemRanges()
5423 if (mem_element != my_data->memObjMap.end()) { in storeMemRanges()
5433 auto mem_element = my_data->memObjMap.find(mem); in deleteMemRanges()
5434 if (mem_element != my_data->memObjMap.end()) { in deleteMemRanges()
5453 auto mem_element = my_data->memObjMap.find(mem); in initializeAndTrackMemory()
5454 if (mem_element != my_data->memObjMap.end()) { in initializeAndTrackMemory()
5890 const auto &mem_entry = dev_data->memObjMap.find(entry->second.mem); in vkDestroyImage()
5891 if (mem_entry != dev_data->memObjMap.end()) in vkDestroyImage()
5963 … dev_data->memObjMap[mem].bufferRanges, dev_data->memObjMap[mem].imageRanges, in vkBindBufferMemory()
10057 auto mem_data = dev_data->memObjMap.find(mem); in ValidateMapImageLayouts()
10058 if ((mem_data != dev_data->memObjMap.end()) && (mem_data->second.image != VK_NULL_HANDLE)) { in ValidateMapImageLayouts()
10124 auto mem_element = my_data->memObjMap.find(pMemRanges[i].memory); in validateMemoryIsMapped()
10125 if (mem_element != my_data->memObjMap.end()) { in validateMemoryIsMapped()
10154 auto mem_element = my_data->memObjMap.find(pMemRanges[i].memory); in validateAndCopyNoncoherentMemoryToDriver()
10155 if (mem_element != my_data->memObjMap.end()) { in validateAndCopyNoncoherentMemoryToDriver()
10230 … dev_data->memObjMap[mem].imageRanges, dev_data->memObjMap[mem].bufferRanges, in vkBindImageMemory()
10241 dev_data->memObjMap[mem].image = image; in vkBindImageMemory()