Home
last modified time | relevance | path

Searched refs:EglSync (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Degl_sync.h30 class EglSync {
36 static absl::Status NewFence(EGLDisplay display, EglSync* sync);
39 EglSync() : EglSync(EGL_NO_DISPLAY, EGL_NO_SYNC_KHR) {} in EglSync() function
41 EglSync(EGLDisplay display, EGLSyncKHR sync) in EglSync() function
45 EglSync(EglSync&& sync);
46 EglSync& operator=(EglSync&& sync);
47 EglSync(const EglSync&) = delete;
48 EglSync& operator=(const EglSync&) = delete;
50 ~EglSync() { Invalidate(); } in ~EglSync()
Degl_sync.cc49 absl::Status EglSync::NewFence(EGLDisplay display, EglSync* sync) { in NewFence()
65 *sync = EglSync(display, egl_sync); in NewFence()
69 EglSync& EglSync::operator=(EglSync&& sync) { in operator =()
78 void EglSync::Invalidate() { in Invalidate()
93 absl::Status EglSync::ServerWait() { in ServerWait()
108 absl::Status EglSync::ClientWait() { in ClientWait()
Dgl_interop.cc45 EglSync* sync) { in CreateEglSyncFromClEvent()
58 *sync = EglSync(display, egl_sync); in CreateEglSyncFromClEvent()
78 const EglSync& egl_sync, CLEvent* event) { in CreateClEventFromEglSync()
215 EglSync sync; in Start()
216 RETURN_IF_ERROR(EglSync::NewFence(egl_display_, &sync)); in Start()
Dgl_interop.h46 EglSync* sync);
55 const EglSync& egl_sync, CLEvent* event);