Lines Matching defs:allocation
231 MovePtr<Allocation> allocation;
251 buffer.allocation = allocator.allocate(getBufferMemoryRequirements(vkd, device, *buffer.buffer), visibility);
253 VK_CHECK(vkd.bindBufferMemory(device, *buffer.buffer, buffer.allocation->getMemory(), buffer.allocation->getOffset()));
255 // If caller provides a host memory buffer for the allocation, then go
256 // ahead and copy the provided data into the allocation and update the
262 deMemcpy(buffer.allocation->getHostPtr(), bufferParameters.memory, (size_t)bufferParameters.size);
263 flushAlloc(vkd, device, *buffer.allocation);
296 MovePtr<Allocation> allocation;
326 image.allocation = allocator.allocate(getImageMemoryRequirements(vkd, device, *image.image), visibility);
328 VK_CHECK(vkd.bindImageMemory(device, *image.image, image.allocation->getMemory(), image.allocation->getOffset()));
760 testContext.vertexBufferAllocation = buffer.allocation;
771 testContext.renderReadBuffer = buffer.allocation;
792 testContext.imageAllocation = image.allocation;