Lines Matching refs:hostPtr
96 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) in Allocation() argument
99 , m_hostPtr (hostPtr) in Allocation()
180 SimpleAllocation (Move<VkDeviceMemory> mem, MovePtr<HostPtr> hostPtr);
188 SimpleAllocation::SimpleAllocation (Move<VkDeviceMemory> mem, MovePtr<HostPtr> hostPtr) in SimpleAllocation() argument
189 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation()
191 , m_hostPtr (hostPtr) in SimpleAllocation()
211 MovePtr<HostPtr> hostPtr; in allocate() local
214 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate()
216 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); in allocate()
245 MovePtr<HostPtr> hostPtr; in allocate() local
250 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate()
253 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); in allocate()
274 MovePtr<HostPtr> hostPtr; in allocateExtended() local
279 hostPtr = MovePtr<HostPtr>(new HostPtr(vkd, device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocateExtended()
282 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); in allocateExtended()
325 void* hostPtr = DE_NULL; in mapMemory() local
326 VK_CHECK(vkd.mapMemory(device, mem, offset, size, flags, &hostPtr)); in mapMemory()
327 TCU_CHECK(hostPtr); in mapMemory()
328 return hostPtr; in mapMemory()