Home
last modified time | relevance | path

Searched refs:fenceSync (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/host/
DSyncThread.cpp133 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()
[all …]
DSyncThread.h77 void triggerWait(gl::EmulatedEglFenceSync* fenceSync, uint64_t timeline);
81 void triggerBlockedWaitNoTimeline(gl::EmulatedEglFenceSync* fenceSync);
85 void triggerWaitWithCompletionCallback(gl::EmulatedEglFenceSync* fenceSync,
94 void doSyncWait(gl::EmulatedEglFenceSync* fenceSync, std::function<void()> onComplete);
DRenderControl.cpp1086 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
[all …]
DFrameBuffer.cpp2748 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(fenceHandle); in waitForGpuVulkan() local
2751 SyncThread::get()->triggerBlockedWaitNoTimeline(fenceSync); in waitForGpuVulkan()
3830 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(eglsync); in waitForGpu() local
3832 if (!fenceSync) { in waitForGpu()
3837 SyncThread::get()->triggerBlockedWaitNoTimeline(fenceSync); in waitForGpu()
3841 EmulatedEglFenceSync* fenceSync = EmulatedEglFenceSync::getFromHandle(eglsync); in asyncWaitForGpuWithCb() local
3843 if (!fenceSync) { in asyncWaitForGpuWithCb()
3848 SyncThread::get()->triggerWaitWithCompletionCallback(fenceSync, std::move(cb)); in asyncWaitForGpuWithCb()
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DTranslatorIfaces.h106 GLsync (*fenceSync)(GLenum, GLbitfield); member
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglImp.cpp1498 GLsync res = iface->fenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in eglCreateSyncKHR()
1631 if (!img) return iface->fenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in eglSetImageFenceANDROID()
1638 GLsync res = iface->fenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); in eglSetImageFenceANDROID()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmImp.cpp94 .fenceSync = NULL,
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Imp.cpp127 .fenceSync = (FUNCPTR_FENCE_SYNC)translator::gles2::internal_glFenceSync,