Home
last modified time | relevance | path

Searched refs:stagingMemory (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/host/vulkan/
DVkDecoderSnapshotUtils.cpp375 VkDeviceMemory stagingMemory; in loadImageContent() local
377 nullptr, &stagingMemory)); in loadImageContent()
379 dispatch->vkBindBufferMemory(stateBlock->device, stagingBuffer, stagingMemory, 0)); in loadImageContent()
382 _RUN_AND_CHECK(dispatch->vkMapMemory(stateBlock->device, stagingMemory, 0, VK_WHOLE_SIZE, in loadImageContent()
470 dispatch->vkUnmapMemory(stateBlock->device, stagingMemory); in loadImageContent()
472 dispatch->vkFreeMemory(stateBlock->device, stagingMemory, nullptr); in loadImageContent()
625 VkDeviceMemory stagingMemory; in loadBufferContent() local
627 nullptr, &stagingMemory)); in loadBufferContent()
629 dispatch->vkBindBufferMemory(stateBlock->device, stagingBuffer, stagingMemory, 0)); in loadBufferContent()
632 _RUN_AND_CHECK(dispatch->vkMapMemory(stateBlock->device, stagingMemory, 0, VK_WHOLE_SIZE, in loadBufferContent()
[all …]
DVkAndroidNativeBuffer.cpp329 VkResult res = vk->vkAllocateMemory(device, &allocInfo, nullptr, &out->stagingMemory); in prepareAndroidNativeBufferImage()
340 vk->vkBindBufferMemory(device, out->stagingBuffer, out->stagingMemory, 0)) { in prepareAndroidNativeBufferImage()
348 if (VK_SUCCESS != vk->vkMapMemory(device, out->stagingMemory, 0, out->memReqs.size, 0, in prepareAndroidNativeBufferImage()
372 auto stagingMemory = anbInfo->stagingMemory; in teardownAndroidNativeBufferImage() local
377 if (mappedPtr) vk->vkUnmapMemory(device, stagingMemory); in teardownAndroidNativeBufferImage()
378 if (stagingMemory) vk->vkFreeMemory(device, stagingMemory, nullptr); in teardownAndroidNativeBufferImage()
394 anbInfo->stagingMemory = VK_NULL_HANDLE; in teardownAndroidNativeBufferImage()
817 VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE, 0, anbInfo->stagingMemory, 0, VK_WHOLE_SIZE, in syncImageToColorBuffer()
DVkAndroidNativeBuffer.h73 VkDeviceMemory stagingMemory = VK_NULL_HANDLE; member