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,
66 inline EGLSyncKHR& eglFence() { return mEglFence; } in eglFence() function
DSurfaceTexture.h60 typedef status_t (*SurfaceTexture_createReleaseFence)(bool useFenceSync, EGLSyncKHR* eglFence,
333 EGLDisplay display, EGLSyncKHR eglFence) override;
Dsurface_texture_platform.h71 typedef int (*ASurfaceTexture_createReleaseFence)(bool useFenceSync, EGLSyncKHR* eglFence,
/frameworks/native/libs/nativedisplay/surfacetexture/
DImageConsumer.cpp27 mImageSlots[buf].eglFence() = EGL_NO_SYNC_KHR; in onReleaseBufferLocked()
79 err = createFence(st.mUseFenceSync, &mImageSlots[slot].eglFence(), &display, in dequeueBuffer()
104 mImageSlots[st.mCurrentTexture].eglFence()); in dequeueBuffer()
DSurfaceTexture.cpp147 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
152 status_t err = ConsumerBase::releaseBufferLocked(buf, graphicBuffer, display, eglFence); in releaseBufferLocked()
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h259 EGLDisplay display, EGLSyncKHR eglFence) override;
262 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
263 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.cpp727 status_t EglManager::createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, int* nativeFence) { in createReleaseFence() argument
750 *eglFence = EGL_NO_SYNC_KHR; in createReleaseFence()
752 if (*eglFence != EGL_NO_SYNC_KHR) { in createReleaseFence()
757 EGLint result = eglClientWaitSyncKHR(mEglDisplay, *eglFence, 0, 1000000000); in createReleaseFence()
766 eglDestroySyncKHR(mEglDisplay, *eglFence); in createReleaseFence()
771 *eglFence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, nullptr); in createReleaseFence()
772 if (*eglFence == EGL_NO_SYNC_KHR) { in createReleaseFence()
DEglManager.h81 status_t createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, int* nativeFence);
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp97 status_t DeferredLayerUpdater::createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, in createReleaseFence() argument
107 err = eglManager.createReleaseFence(useFenceSync, eglFence, releaseFence); in createReleaseFence()
DDeferredLayerUpdater.h133 static status_t createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, EGLDisplay* display,
/frameworks/native/libs/gui/
DConsumerBase.cpp484 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
499 display, eglFence, mSlots[slot].mFence); in releaseBufferLocked()
DBufferQueueProducer.cpp420 EGLSyncKHR eglFence = EGL_NO_SYNC_KHR; in dequeueBuffer() local
564 eglFence = mSlots[found].mEglFence; in dequeueBuffer()
659 if (eglFence != EGL_NO_SYNC_KHR) { in dequeueBuffer()
660 EGLint result = eglClientWaitSyncKHR(eglDisplay, eglFence, 0, in dequeueBuffer()
671 eglDestroySyncKHR(eglDisplay, eglFence); in dequeueBuffer()
DBufferQueueConsumer.cpp452 EGLSyncKHR eglFence) { in releaseBuffer() argument
485 mSlots[slot].mEglFence = eglFence; in releaseBuffer()
DGLConsumer.cpp345 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
351 buf, graphicBuffer, display, eglFence); in releaseBufferLocked()