Lines Matching refs:semaphore
820 GrBackendSemaphore semaphore; in flushSurfaceAndSignalSemaphore() local
821 if (!this->setupSemaphoreForSignaling(reporter, &semaphore)) { in flushSurfaceAndSignalSemaphore()
824 GrSemaphoresSubmitted submitted = fGrContext->flush(kNone_GrFlushFlags, 1, &semaphore); in flushSurfaceAndSignalSemaphore()
829 SkASSERT(semaphore.isInitialized()); in flushSurfaceAndSignalSemaphore()
830 if (!this->exportSemaphore(reporter, semaphore)) { in flushSurfaceAndSignalSemaphore()
879 VkSemaphore semaphore; in setupSemaphoreForSignaling() local
880 VkResult err = fVkCreateSemaphore(fDevice, &semaphoreInfo, nullptr, &semaphore); in setupSemaphoreForSignaling()
885 beSemaphore->initVulkan(semaphore); in setupSemaphoreForSignaling()
891 VkSemaphore semaphore = beSemaphore.vkSemaphore(); in exportSemaphore() local
892 if (VK_NULL_HANDLE == semaphore) { in exportSemaphore()
900 getFdInfo.semaphore = semaphore; in exportSemaphore()
908 fSignalSemaphore = semaphore; in exportSemaphore()
919 VkSemaphore semaphore; in importAndWaitOnSemaphore() local
920 VkResult err = fVkCreateSemaphore(fDevice, &semaphoreInfo, nullptr, &semaphore); in importAndWaitOnSemaphore()
929 importInfo.semaphore = semaphore; in importAndWaitOnSemaphore()
941 beSemaphore.initVulkan(semaphore); in importAndWaitOnSemaphore()
944 fVkDestroySemaphore(fDevice, semaphore, nullptr); in importAndWaitOnSemaphore()