Lines Matching refs:fenceSync
1086 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(eglsync_ptr); in rcTriggerWait() local
1088 if (fb && fenceSync && fenceSync->isCompositionFence()) { in rcTriggerWait()
1089 fb->scheduleVsyncTask([eglsync_ptr, fenceSync, timeline](uint64_t) { in rcTriggerWait()
1093 eglsync_ptr, fenceSync, thread_ptr, timeline); in rcTriggerWait()
1094 SyncThread::get()->triggerWait(fenceSync, timeline); in rcTriggerWait()
1100 eglsync_ptr, fenceSync, thread_ptr, timeline); in rcTriggerWait()
1101 SyncThread::get()->triggerWait(fenceSync, timeline); in rcTriggerWait()
1133 auto fenceSync = reinterpret_cast<EmulatedEglFenceSync*>(outSync); in rcCreateSyncKHR() local
1134 fenceSync->setIsCompositionFence(tInfo->m_isCompositionThread); in rcCreateSyncKHR()
1156 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcClientWaitSyncKHR() local
1158 if (!fenceSync) { in rcClientWaitSyncKHR()
1177 return fenceSync->wait(timeout); in rcClientWaitSyncKHR()
1192 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcWaitSyncKHR() local
1194 if (!fenceSync) { return; } in rcWaitSyncKHR()
1210 fenceSync->waitAsync(); in rcWaitSyncKHR()
1214 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcDestroySyncKHR() local
1215 if (!fenceSync) return 0; in rcDestroySyncKHR()
1216 fenceSync->decRef(); in rcDestroySyncKHR()
1365 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcIsSyncSignaled() local
1366 if (!fenceSync) return 1; // assume destroyed => signaled in rcIsSyncSignaled()
1367 return fenceSync->isSignaled() ? 1 : 0; in rcIsSyncSignaled()
1493 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(handle); in rcDestroySyncKHRAsync() local
1494 if (!fenceSync) return; in rcDestroySyncKHRAsync()
1495 fenceSync->decRef(); in rcDestroySyncKHRAsync()