Lines Matching refs:mDevice

94 #define GET_DEV_PROC(F) m##F = (PFN_vk##F)vkGetDeviceProcAddr(mDevice, "vk" #F)
117 if (mDevice != VK_NULL_HANDLE) { in ~VulkanManager()
118 mDeviceWaitIdle(mDevice); in ~VulkanManager()
119 mDestroyDevice(mDevice, nullptr); in ~VulkanManager()
128 mDevice = VK_NULL_HANDLE; in ~VulkanManager()
362 LOG_ALWAYS_FATAL_IF(mCreateDevice(mPhysicalDevice, &deviceInfo, nullptr, &mDevice)); in setupDevice()
391 if (mDevice != VK_NULL_HANDLE) { in initialize()
402 mGetDeviceQueue(mDevice, mGraphicsQueueIndex, 0, &mGraphicsQueue); in initialize()
403 mGetDeviceQueue(mDevice, mGraphicsQueueIndex, 1, &mAHBUploadQueue); in initialize()
427 backendContext.fDevice = mDevice; in createContext()
448 .device = mDevice, in getVkFunctorInitParams()
491 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in dequeueNextBuffer()
505 err = mImportSemaphoreFdKHR(mDevice, &importInfo); in dequeueNextBuffer()
508 mDestroySemaphore(mDevice, semaphore, nullptr); in dequeueNextBuffer()
534 VkDevice mDevice; member
546 : mDestroyFunction(destroyFunction), mDevice(device), mSemaphore(semaphore) {} in DestroySemaphoreInfo()
553 info->mDestroyFunction(info->mDevice, info->mSemaphore, nullptr); in destroy_semaphore()
573 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in finishFrame()
581 mDestroySemaphoreContext = new DestroySemaphoreInfo(mDestroySemaphore, mDevice, semaphore); in finishFrame()
615 mFrameBoundaryANDROID(mDevice, mSwapSemaphore, image); in finishFrame()
630 mDeviceWaitIdle(mDevice); in swapBuffers()
641 VkResult err = mGetSemaphoreFdKHR(mDevice, &getFdInfo, &fenceFd); in swapBuffers()
698 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in fenceWait()
712 err = mImportSemaphoreFdKHR(mDevice, &importInfo); in fenceWait()
714 mDestroySemaphore(mDevice, semaphore, nullptr); in fenceWait()
748 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in createReleaseFence()
758 new DestroySemaphoreInfo(mDestroySemaphore, mDevice, semaphore); in createReleaseFence()
784 err = mGetSemaphoreFdKHR(mDevice, &getFdInfo, &fenceFd); in createReleaseFence()