Lines Matching refs:dvk
1129 sVkEmulation->dvk = new VulkanDispatch; in createGlobalVkEmulation()
1130 init_vulkan_dispatch_from_device(ivk, sVkEmulation->device, sVkEmulation->dvk); in createGlobalVkEmulation()
1132 auto dvk = sVkEmulation->dvk; in createGlobalVkEmulation() local
1135 if (!vulkan_dispatch_check_device_VK_VERSION_1_0(dvk)) { in createGlobalVkEmulation()
1139 if (!vulkan_dispatch_check_device_VK_VERSION_1_1(dvk)) { in createGlobalVkEmulation()
1147 dvk->vkGetDeviceProcAddr(sVkEmulation->device, "vkGetImageMemoryRequirements2KHR")); in createGlobalVkEmulation()
1153 reinterpret_cast<PFN_vkGetBufferMemoryRequirements2KHR>(dvk->vkGetDeviceProcAddr( in createGlobalVkEmulation()
1164 dvk->vkGetDeviceProcAddr(sVkEmulation->device, "vkGetMemoryWin32HandleKHR")); in createGlobalVkEmulation()
1167 dvk->vkGetDeviceProcAddr(sVkEmulation->device, "vkGetMemoryFdKHR")); in createGlobalVkEmulation()
1180 dvk->vkGetDeviceQueue(sVkEmulation->device, in createGlobalVkEmulation()
1196 VkResult poolCreateRes = dvk->vkCreateCommandPool(sVkEmulation->device, &poolCi, nullptr, in createGlobalVkEmulation()
1214 dvk->vkAllocateCommandBuffers(sVkEmulation->device, &cbAi, &sVkEmulation->commandBuffer); in createGlobalVkEmulation()
1228 VkResult fenceCreateRes = dvk->vkCreateFence(sVkEmulation->device, &fenceCi, nullptr, in createGlobalVkEmulation()
1255 dvk->vkCreateBuffer(sVkEmulation->device, &bufCi, nullptr, &sVkEmulation->staging.buffer); in createGlobalVkEmulation()
1264 dvk->vkGetBufferMemoryRequirements(sVkEmulation->device, sVkEmulation->staging.buffer, in createGlobalVkEmulation()
1270 getStagingMemoryTypeIndex(dvk, sVkEmulation->device, &sVkEmulation->deviceInfo.memProps, in createGlobalVkEmulation()
1284 if (!allocExternalMemory(dvk, &sVkEmulation->staging.memory, false /* not external */, in createGlobalVkEmulation()
1290 VkResult stagingBufferBindRes = dvk->vkBindBufferMemory( in createGlobalVkEmulation()
1394 freeExternalMemoryLocked(sVkEmulation->dvk, &sVkEmulation->staging.memory); in teardownGlobalVkEmulation()
1396 sVkEmulation->dvk->vkDestroyBuffer(sVkEmulation->device, sVkEmulation->staging.buffer, nullptr); in teardownGlobalVkEmulation()
1398 sVkEmulation->dvk->vkDestroyFence(sVkEmulation->device, sVkEmulation->commandBufferFence, in teardownGlobalVkEmulation()
1401 sVkEmulation->dvk->vkFreeCommandBuffers(sVkEmulation->device, sVkEmulation->commandPool, 1, in teardownGlobalVkEmulation()
1404 sVkEmulation->dvk->vkDestroyCommandPool(sVkEmulation->device, sVkEmulation->commandPool, in teardownGlobalVkEmulation()
1914 auto vk = sVkEmulation->dvk; in updateExternalMemoryInfo()
2034 auto vk = sVkEmulation->dvk; in initializeVkColorBufferLocked()
2284 auto vk = sVkEmulation->dvk; in teardownVkColorBufferLocked()
2439 auto vk = sVkEmulation->dvk; in readColorBufferToBytesLocked()
2620 auto vk = sVkEmulation->dvk; in updateColorBufferFromBytesLocked()
2945 auto vk = sVkEmulation->dvk; in setupVkBuffer()
3085 auto vk = sVkEmulation->dvk; in teardownVkBuffer()
3123 auto vk = sVkEmulation->dvk; in readBufferToBytes()
3215 auto vk = sVkEmulation->dvk; in updateBufferFromBytes()
3397 auto vk = sVkEmulation->dvk; in allocateQueueTransferCommandBuffer_locked()
3516 auto vk = sVkEmulation->dvk; in releaseColorBufferForGuestUse()