Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp552 status_t EglManager::createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, in createReleaseFence() argument
575 *eglFence = EGL_NO_SYNC_KHR; in createReleaseFence()
577 if (*eglFence != EGL_NO_SYNC_KHR) { in createReleaseFence()
582 EGLint result = eglClientWaitSyncKHR(mEglDisplay, *eglFence, 0, 1000000000); in createReleaseFence()
591 eglDestroySyncKHR(mEglDisplay, *eglFence); in createReleaseFence()
596 *eglFence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, nullptr); in createReleaseFence()
597 if (*eglFence == EGL_NO_SYNC_KHR) { in createReleaseFence()
DEglManager.h81 status_t createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, sp<Fence>& nativeFence);
/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.h202 EGLDisplay display = EGL_NO_DISPLAY, EGLSyncKHR eglFence = EGL_NO_SYNC_KHR);
/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.cpp50 mImageSlots[buf].eglFence() = EGL_NO_SYNC_KHR; in onReleaseBufferLocked()
235 err = eglManager.createReleaseFence(st.mUseFenceSync, &mImageSlots[slot].eglFence(), in dequeueImage()
261 mImageSlots[st.mCurrentTexture].eglFence()); in dequeueImage()
DImageConsumer.h87 inline EGLSyncKHR& eglFence() { return mEglFence; } in eglFence() function
DSurfaceTexture.h300 EGLDisplay display, EGLSyncKHR eglFence) override;
DSurfaceTexture.cpp148 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
153 status_t err = ConsumerBase::releaseBufferLocked(buf, graphicBuffer, display, eglFence); in releaseBufferLocked()
/frameworks/native/libs/gui/
DConsumerBase.cpp440 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
455 display, eglFence, mSlots[slot].mFence); in releaseBufferLocked()
DBufferQueueProducer.cpp385 EGLSyncKHR eglFence = EGL_NO_SYNC_KHR; in dequeueBuffer() local
495 eglFence = mSlots[found].mEglFence; in dequeueBuffer()
554 if (eglFence != EGL_NO_SYNC_KHR) { in dequeueBuffer()
555 EGLint result = eglClientWaitSyncKHR(eglDisplay, eglFence, 0, in dequeueBuffer()
566 eglDestroySyncKHR(eglDisplay, eglFence); in dequeueBuffer()
DBufferQueueConsumer.cpp411 EGLSyncKHR eglFence) { in releaseBuffer() argument
444 mSlots[slot].mEglFence = eglFence; in releaseBuffer()
DGLConsumer.cpp345 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked() argument
351 buf, graphicBuffer, display, eglFence); in releaseBufferLocked()