Lines Matching refs:semaphore
490 VkSemaphore semaphore; in dequeueNextBuffer() local
491 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in dequeueNextBuffer()
500 importInfo.semaphore = semaphore; in dequeueNextBuffer()
508 mDestroySemaphore(mDevice, semaphore, nullptr); in dequeueNextBuffer()
513 backendSemaphore.initVulkan(semaphore); in dequeueNextBuffer()
545 VkSemaphore semaphore) in DestroySemaphoreInfo()
546 : mDestroyFunction(destroyFunction), mDevice(device), mSemaphore(semaphore) {} in DestroySemaphoreInfo()
572 VkSemaphore semaphore; in finishFrame() local
573 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in finishFrame()
577 backendSemaphore.initVulkan(semaphore); in finishFrame()
581 mDestroySemaphoreContext = new DestroySemaphoreInfo(mDestroySemaphore, mDevice, semaphore); in finishFrame()
587 semaphore = VK_NULL_HANDLE; in finishFrame()
595 if (semaphore != VK_NULL_HANDLE) { in finishFrame()
597 mSwapSemaphore = semaphore; in finishFrame()
638 getFdInfo.semaphore = mSwapSemaphore; in swapBuffers()
697 VkSemaphore semaphore; in fenceWait() local
698 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in fenceWait()
707 importInfo.semaphore = semaphore; in fenceWait()
714 mDestroySemaphore(mDevice, semaphore, nullptr); in fenceWait()
721 beSemaphore.initVulkan(semaphore); in fenceWait()
747 VkSemaphore semaphore; in createReleaseFence() local
748 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in createReleaseFence()
755 backendSemaphore.initVulkan(semaphore); in createReleaseFence()
758 new DestroySemaphoreInfo(mDestroySemaphore, mDevice, semaphore); in createReleaseFence()
779 getFdInfo.semaphore = semaphore; in createReleaseFence()