Searched refs:hostPtr (Results 1 – 5 of 5) sorted by relevance
/device/generic/goldfish-opengl/shared/GoldfishAddressSpace/include/ |
D | goldfish_address_space_host.impl | 265 void *hostPtr = HostAddressSpaceDevice::get()->getHostAddr(block->physAddr()); 266 block->mmap(static_cast<uint64_t>(reinterpret_cast<uintptr_t>(hostPtr))); 279 void *hostPtr = HostAddressSpaceDevice::get()->getHostAddr(block->physAddr()); 280 block->mmap(static_cast<uint64_t>(reinterpret_cast<uintptr_t>(hostPtr)));
|
/device/generic/vulkan-cereal/fake-android-guest/androidImpl/ |
D | vulkanhal_unittest.cpp | 776 void* hostPtr; in TEST_P() local 777 EXPECT_EQ(VK_SUCCESS, vk->vkMapMemory(mDevice, mem, 0, VK_WHOLE_SIZE, 0, &hostPtr)); in TEST_P() 779 memset(hostPtr, 0xff, kTestAlloc); in TEST_P() 790 EXPECT_EQ(0xff, *((uint8_t*)hostPtr + i)); in TEST_P() 1107 void* hostPtr = nullptr; in TEST_P() local 1134 vk->vkMapMemory(mDevice, mem, 0, VK_WHOLE_SIZE, 0, &hostPtr)); in TEST_P() 1136 memset(hostPtr, 0xff, 4); in TEST_P() 1147 EXPECT_EQ(0xff, *((uint8_t*)hostPtr + i)); in TEST_P() 1244 void* hostPtr; in TEST_P() local 1245 EXPECT_EQ(VK_SUCCESS, vk->vkMapMemory(mDevice, mem, 0, VK_WHOLE_SIZE, 0, &hostPtr)); in TEST_P() [all …]
|
/device/generic/vulkan-cereal/snapshot/ |
D | common.h | 28 uint8_t* hostPtr; member
|
/device/generic/vulkan-cereal/stream-servers/vulkan/ |
D | VkDecoder.cpp | 1634 auto hostPtr = m_state->getMappedHostPointer(memory); in decode() local 1635 … if (!hostPtr && readStream > 0) GFXSTREAM_ABORT(::emugl::FatalError(::emugl::ABORT_REASON_OTHER)); in decode() 1636 if (!hostPtr) continue; in decode() 1637 uint8_t* targetRange = hostPtr + offset; in decode() 1701 auto hostPtr = m_state->getMappedHostPointer(memory); in decode() local 1704 … if (!hostPtr) { vkStream->write(&writeStream, sizeof(uint64_t)); continue; }; in decode() 1705 uint8_t* targetRange = hostPtr + offset; in decode()
|
/device/generic/goldfish-opengl/system/vulkan_enc/ |
D | VkEncoder.cpp | 2074 auto hostPtr = sResourceTracker->getMappedPointer(memory); in vkFlushMappedMemoryRanges() local 2076 if (!hostPtr) { stream->write(&streamSize, sizeof(uint64_t)); continue; }; in vkFlushMappedMemoryRanges() 2079 uint8_t* targetRange = hostPtr + offset; in vkFlushMappedMemoryRanges() 2169 auto hostPtr = sResourceTracker->getMappedPointer(memory); in vkInvalidateMappedMemoryRanges() local 2171 if (!hostPtr) { stream->read(&streamSize, sizeof(uint64_t)); continue; }; in vkInvalidateMappedMemoryRanges() 2174 uint8_t* targetRange = hostPtr + offset; in vkInvalidateMappedMemoryRanges()
|