Lines Matching refs:fenceSync
133 void SyncThread::triggerWait(EmulatedEglFenceSync* fenceSync, in triggerWait() argument
136 ss << "triggerWait fenceSyncInfo=0x" << std::hex << reinterpret_cast<uintptr_t>(fenceSync) in triggerWait()
139 [fenceSync, timeline, this](WorkerId) { in triggerWait()
140 doSyncWait(fenceSync, [timeline] { in triggerWait()
148 void SyncThread::triggerBlockedWaitNoTimeline(EmulatedEglFenceSync* fenceSync) { in triggerBlockedWaitNoTimeline() argument
151 << reinterpret_cast<uintptr_t>(fenceSync); in triggerBlockedWaitNoTimeline()
153 [fenceSync, this](WorkerId) { in triggerBlockedWaitNoTimeline()
154 doSyncWait(fenceSync, std::function<void()>()); in triggerBlockedWaitNoTimeline()
160 void SyncThread::triggerWaitWithCompletionCallback(EmulatedEglFenceSync* fenceSync, FenceCompletion… in triggerWaitWithCompletionCallback() argument
163 << reinterpret_cast<uintptr_t>(fenceSync); in triggerWaitWithCompletionCallback()
165 [fenceSync, cb = std::move(cb), this](WorkerId) { doSyncWait(fenceSync, std::move(cb)); }, in triggerWaitWithCompletionCallback()
223 void SyncThread::doSyncWait(EmulatedEglFenceSync* fenceSync, std::function<void()> onComplete) { in doSyncWait() argument
226 if (!EmulatedEglFenceSync::getFromHandle((uint64_t)(uintptr_t)fenceSync)) { in doSyncWait()
238 DPRINT("wait on sync obj: %p", fenceSync); in doSyncWait()
239 wait_result = fenceSync->wait(kDefaultTimeoutNsecs); in doSyncWait()
249 wait_result, (unsigned long long)fenceSync, error); in doSyncWait()