Home
last modified time | relevance | path

Searched refs:EGLSyncKHR (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/opt/gamesdk/src/swappy/
DEGL.h73 using eglCreateSyncKHR_type = EGLSyncKHR (*)(EGLDisplay, EGLenum, const EGLint *);
75 using eglDestroySyncKHR_type = EGLBoolean (*)(EGLDisplay, EGLSyncKHR);
77 using eglGetSyncAttribKHR_type = EGLBoolean (*)(EGLDisplay, EGLSyncKHR, EGLint, EGLint *);
91 EGLSyncKHR mSyncFence = EGL_NO_SYNC_KHR;
98 void onFenceCreation(EGLDisplay display, EGLSyncKHR syncFence);
103 … using eglClientWaitSyncKHR_type = EGLBoolean (*)(EGLDisplay, EGLSyncKHR, EGLint, EGLTimeKHR);
114 EGLSyncKHR mSyncFence GUARDED_BY(mFenceWaiterLock) = EGL_NO_SYNC_KHR;
/frameworks/native/opengl/libs/EGL/
Degl_entries.in53 EGL_ENTRY(EGLSyncKHR, eglCreateSync, EGLDisplay, EGLenum, const EGLAttrib *)
68 EGL_ENTRY(EGLSyncKHR, eglCreateSyncKHR, EGLDisplay, EGLenum, const EGLint *)
69 EGL_ENTRY(EGLBoolean, eglDestroySyncKHR, EGLDisplay, EGLSyncKHR)
70 EGL_ENTRY(EGLint, eglClientWaitSyncKHR, EGLDisplay, EGLSyncKHR, EGLint, EGLTimeKHR)
71 EGL_ENTRY(EGLBoolean, eglSignalSyncKHR, EGLDisplay, EGLSyncKHR, EGLenum)
72 EGL_ENTRY(EGLBoolean, eglGetSyncAttribKHR, EGLDisplay, EGLSyncKHR, EGLint, EGLint *)
88 EGL_ENTRY(EGLint, eglWaitSyncKHR, EGLDisplay, EGLSyncKHR, EGLint)
98 EGL_ENTRY(EGLint, eglDupNativeFenceFDANDROID, EGLDisplay, EGLSyncKHR)
DeglApi.cpp412 EGLSyncKHR eglCreateSync(EGLDisplay dpy, EGLenum type, const EGLAttrib* attrib_list) { in eglCreateSync()
419 EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint* attrib_list) { in eglCreateSyncKHR()
426 EGLBoolean eglDestroySync(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySync()
433 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySyncKHR()
440 EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) { in eglSignalSyncKHR()
454 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) { in eglClientWaitSyncKHR()
468 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint* value) { in eglGetSyncAttribKHR()
565 EGLint eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) { in eglWaitSyncKHR()
577 EGLint eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) { in eglDupNativeFenceFDANDROID()
Degl_platform_entries.cpp1301 static void queueSync(EGLSyncKHR sync) { in queueSync()
1333 EGLSyncKHR sync; in threadLoop()
1367 std::deque<EGLSyncKHR> mQueue;
1385 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, nullptr); in eglSwapBuffersWithDamageKHRImpl()
1814 EGLSyncKHR eglCreateSyncTmpl(EGLDisplay dpy, EGLenum type, const AttrType* attrib_list, in eglCreateSyncTmpl()
1820 EGLSyncKHR result = EGL_NO_SYNC_KHR; in eglCreateSyncTmpl()
1830 EGLSyncKHR eglCreateSyncKHRImpl(EGLDisplay dpy, EGLenum type, const EGLint* attrib_list) { in eglCreateSyncKHRImpl()
1853 EGLBoolean eglDestroySyncTmpl(EGLDisplay dpy, EGLSyncKHR sync, in eglDestroySyncTmpl()
1866 EGLBoolean eglDestroySyncKHRImpl(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySyncKHRImpl()
1870 EGLBoolean eglDestroySyncImpl(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySyncImpl()
[all …]
/frameworks/native/opengl/libs/
Dplatform_entries.in50 EGL_ENTRY(EGLBoolean, eglGetSyncAttrib, EGLDisplay, EGLSyncKHR, EGLint, EGLAttrib*)
51 EGL_ENTRY(EGLSyncKHR, eglCreateSyncKHR, EGLDisplay, EGLenum, const EGLint*)
52 EGL_ENTRY(EGLBoolean, eglDestroySyncKHR, EGLDisplay, EGLSyncKHR)
53 EGL_ENTRY(EGLBoolean, eglSignalSyncKHR, EGLDisplay, EGLSyncKHR, EGLenum)
54 EGL_ENTRY(EGLint, eglClientWaitSyncKHR, EGLDisplay, EGLSyncKHR, EGLint, EGLTimeKHR)
55 EGL_ENTRY(EGLBoolean, eglGetSyncAttribKHR, EGLDisplay, EGLSyncKHR, EGLint, EGLint*)
69 EGL_ENTRY(EGLint, eglWaitSyncKHR, EGLDisplay, EGLSyncKHR, EGLint)
70 EGL_ENTRY(EGLint, eglDupNativeFenceFDANDROID, EGLDisplay, EGLSyncKHR)
/frameworks/base/libs/hwui/debug/
Dnullegl.cpp25 static EGLSyncKHR gFence = (EGLSyncKHR)1;
158 EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint* attrib_list) { in eglCreateSyncKHR()
162 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) { in eglDestroySyncKHR()
166 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) { in eglClientWaitSyncKHR()
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h255 EGLDisplay display, EGLSyncKHR eglFence) override;
258 const sp<GraphicBuffer> graphicBuffer, EGLSyncKHR eglFence) { in releaseBufferLocked()
270 EGLSyncKHR fence;
459 EGLSyncKHR mEglFence;
DBufferQueueConsumer.h73 EGLSyncKHR fence);
160 EGLDisplay display, EGLSyncKHR fence, in releaseBuffer()
DBufferSlot.h213 EGLSyncKHR mEglFence;
DBufferHubConsumer.h47 status_t releaseBuffer(int buf, uint64_t frameNumber, EGLDisplay display, EGLSyncKHR fence,
DIGraphicBufferConsumer.h134 EGLSyncKHR fence, const sp<Fence>& releaseFence) = 0;
DConsumerBase.h202 EGLDisplay display = EGL_NO_DISPLAY, EGLSyncKHR eglFence = EGL_NO_SYNC_KHR);
/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.h87 inline EGLSyncKHR& eglFence() { return mEglFence; } in eglFence()
99 EGLSyncKHR mEglFence;
DEGLConsumer.h129 EGLSyncKHR fence;
268 EGLSyncKHR mEglFence;
DSurfaceTexture.h300 EGLDisplay display, EGLSyncKHR eglFence) override;
DEGLConsumer.cpp480 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in syncForReleaseLocked()
506 EGLSyncKHR fence = mEglSlots[st.mCurrentTexture].mEglFence; in syncForReleaseLocked()
567 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in doGLFenceWaitLocked()
/frameworks/native/opengl/include/EGL/
Deglext.h61 typedef void *EGLSyncKHR; typedef
63 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EG…
65 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR …
152 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLi…
153 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
154 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint …
155 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLi…
157 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_…
158 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync);
159 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLT…
[all …]
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.h147 bool waitSync(EGLSyncKHR sync, EGLint flags);
238 void queueSync(EGLSyncKHR sync) EXCLUDES(mMutex);
241 EGLSyncKHR mSync = nullptr;
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp482 EGLSyncKHR fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL); in fence()
524 EGLSyncKHR sync = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in fenceWait()
552 status_t EglManager::createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, in createReleaseFence()
560 EGLSyncKHR sync = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in createReleaseFence()
DEglManager.h81 status_t createReleaseFence(bool useFenceSync, EGLSyncKHR* eglFence, sp<Fence>& nativeFence);
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp187 EGLSyncKHR fence = mUploadThread->queue().runSync([&]() -> EGLSyncKHR { in onUploadHardwareBitmap()
200 EGLSyncKHR uploadFence = in onUploadHardwareBitmap()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/
DMockGraphicBufferConsumer.h36 MOCK_METHOD5(releaseBuffer, status_t(int, uint64_t, EGLDisplay, EGLSyncKHR, const sp<Fence>&));
/frameworks/native/libs/gui/
DBufferHubConsumer.cpp58 EGLDisplay /*display*/, EGLSyncKHR /*fence*/, in releaseBuffer() argument
DGLConsumer.cpp345 EGLDisplay display, EGLSyncKHR eglFence) { in releaseBufferLocked()
650 EGLSyncKHR sync = eglCreateSyncKHR(dpy, in syncForReleaseLocked()
674 EGLSyncKHR fence = mEglSlots[mCurrentTexture].mEglFence; in syncForReleaseLocked()
872 EGLSyncKHR sync = eglCreateSyncKHR(dpy, in doGLFenceWaitLocked()
/frameworks/native/opengl/specs/
DEGL_ANDROID_native_fence_sync.txt48 objects must have a signal status like that of an EGLSyncKHR object that
60 EGLSyncKHR);
207 EGLSyncKHR sync);
227 1. Should EGLSyncKHR objects that wrap native fence objects use the

12