Lines Matching refs:fDevice
40 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
80 VkDevice fDevice = VK_NULL_HANDLE; member in VkYcbcrSamplerTestHelper
96 fVkDestroyImage(fDevice, fImage, nullptr); in ~VkYcbcrSamplerTestHelper()
100 fVkFreeMemory(fDevice, fImageMemory, nullptr); in ~VkYcbcrSamplerTestHelper()
105 if (fDevice != VK_NULL_HANDLE) { in ~VkYcbcrSamplerTestHelper()
106 fVkDeviceWaitIdle(fDevice); in ~VkYcbcrSamplerTestHelper()
107 fVkDestroyDevice(fDevice, nullptr); in ~VkYcbcrSamplerTestHelper()
108 fDevice = VK_NULL_HANDLE; in ~VkYcbcrSamplerTestHelper()
140 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
147 fDevice = fBackendContext.fDevice; in init()
219 if (fVkCreateImage(fDevice, &vkImageInfo, nullptr, &fImage) != VK_SUCCESS) { in createI420Image()
225 fVkGetImageMemoryRequirements(fDevice, fImage, &requirements); in createI420Image()
251 if (fVkAllocateMemory(fDevice, &allocInfo, nullptr, &fImageMemory) != VK_SUCCESS) { in createI420Image()
257 if (fVkMapMemory(fDevice, fImageMemory, 0u, requirements.size, 0u, &mappedBuffer) != in createI420Image()
270 fVkGetImageSubresourceLayout(fDevice, fImage, &subresource, &yLayout); in createI420Image()
281 fVkGetImageSubresourceLayout(fDevice, fImage, &subresource, &uvLayout); in createI420Image()
296 if (fVkFlushMappedMemoryRanges(fDevice, 1, &flushRange) != VK_SUCCESS) { in createI420Image()
300 fVkUnmapMemory(fDevice, fImageMemory); in createI420Image()
303 if (fVkBindImageMemory(fDevice, fImage, fImageMemory, 0u) != VK_SUCCESS) { in createI420Image()