Home
last modified time | relevance | path

Searched refs:eglFence (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/nativedisplay/include/surfacetexture/
DImageConsumer.h38 typedef status_t (*SurfaceTexture_createReleaseFence)(bool useFenceSync, EGLSyncKHR* eglFence,
65 inline EGLSyncKHR& eglFence() { return mEglFence; } in eglFence() function
DSurfaceTexture.h59 typedef status_t (*SurfaceTexture_createReleaseFence)(bool useFenceSync, EGLSyncKHR* eglFence,
317 EGLDisplay display, EGLSyncKHR eglFence) override;
Dsurface_texture_platform.h70 typedef int (*ASurfaceTexture_createReleaseFence)(bool useFenceSync, EGLSyncKHR* eglFence,
/frameworks/native/libs/nativedisplay/surfacetexture/
DImageConsumer.cpp27 mImageSlots[buf].eglFence() = EGL_NO_SYNC_KHR; in onReleaseBufferLocked()
78 err = createFence(st.mUseFenceSync, &mImageSlots[slot].eglFence(), &display, in dequeueBuffer()
103 mImageSlots[st.mCurrentTexture].eglFence()); in dequeueBuffer()
DSurfaceTexture.cpp145 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
150 status_t err = ConsumerBase::releaseBufferLocked(buf, graphicBuffer, display, eglFence); in releaseBufferLocked()
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h255 EGLDisplay display, EGLSyncKHR eglFence) override;
258 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
259 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence); in releaseBufferLocked()
DConsumerBase.h208 EGLDisplay display = EGL_NO_DISPLAY, EGLSyncKHR eglFence = EGL_NO_SYNC_KHR);
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp630 status_t EglManager::createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, int* nativeFence) { in createReleaseFence() argument
653 *eglFence = EGL_NO_SYNC_KHR; in createReleaseFence()
655 if (*eglFence != EGL_NO_SYNC_KHR) { in createReleaseFence()
660 EGLint result = eglClientWaitSyncKHR(mEglDisplay, *eglFence, 0, 1000000000); in createReleaseFence()
669 eglDestroySyncKHR(mEglDisplay, *eglFence); in createReleaseFence()
674 *eglFence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, nullptr); in createReleaseFence()
675 if (*eglFence == EGL_NO_SYNC_KHR) { in createReleaseFence()
DEglManager.h80 status_t createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, int* nativeFence);
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp95 status_t DeferredLayerUpdater::createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, in createReleaseFence() argument
105 err = eglManager.createReleaseFence(useFenceSync, eglFence, releaseFence); in createReleaseFence()
DDeferredLayerUpdater.h132 static status_t createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, EGLDisplay* display,
/frameworks/native/libs/gui/
DConsumerBase.cpp482 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
497 display, eglFence, mSlots[slot].mFence); in releaseBufferLocked()
DBufferQueueProducer.cpp408 EGLSyncKHR eglFence = EGL_NO_SYNC_KHR; in dequeueBuffer() local
522 eglFence = mSlots[found].mEglFence; in dequeueBuffer()
591 if (eglFence != EGL_NO_SYNC_KHR) { in dequeueBuffer()
592 EGLint result = eglClientWaitSyncKHR(eglDisplay, eglFence, 0, in dequeueBuffer()
603 eglDestroySyncKHR(eglDisplay, eglFence); in dequeueBuffer()
DBufferQueueConsumer.cpp444 EGLSyncKHR eglFence) { in releaseBuffer() argument
477 mSlots[slot].mEglFence = eglFence; in releaseBuffer()
DGLConsumer.cpp345 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
351 buf, graphicBuffer, display, eglFence); in releaseBufferLocked()