Lines Matching refs:allocations
134 vector<AllocationSp>* allocations)
156 allocations->push_back(AllocationSp(allocation.release()));
165 vector<AllocationSp>* allocations)
167 allocateStagingBuffers(vkd, device, allocator, imageData, buffers, allocations);
171 deMemcpy((*allocations)[planeNdx]->getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPlaneSize(planeNdx));
172 flushMappedMemoryRange(vkd, device, (*allocations)[planeNdx]->getMemory(), 0u, VK_WHOLE_SIZE);
179 const vector<AllocationSp>& allocations)
183 invalidateMappedMemoryRange(vkd, device, allocations[planeNdx]->getMemory(), 0u, VK_WHOLE_SIZE);
184 deMemcpy(imageData->getPlanePtr(planeNdx), allocations[planeNdx]->getHostPtr(), imageData->getPlaneSize(planeNdx));
356 vector<AllocationSp> allocations;
362 bindImagePlanesMemory(vkd, device, image, numPlanes, allocations, allocator, requirement);
368 allocations.push_back(AllocationSp(allocator.allocate(reqs, requirement).release()));
370 VK_CHECK(vkd.bindImageMemory(device, image, allocations.back()->getMemory(), allocations.back()->getOffset()));
373 return allocations;
482 const std::vector<de::SharedPtr<vk::Allocation> >& allocations,
498 const de::SharedPtr<Allocation>& allocation = allocations.size() > 1
499 ? allocations[planeNdx]
500 : allocations[0];
670 const std::vector<de::SharedPtr<vk::Allocation> >& allocations,
718 const de::SharedPtr<Allocation>& allocation = allocations.size() > 1
719 ? allocations[planeNdx]
720 : allocations[0];