Home
last modified time | relevance | path

Searched refs:fenceFd (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DFrameBufferAndroid.cpp31 int fenceFd = -1; in dequeueBuffer() local
32 int ret = ANativeWindow_dequeueBuffer(window, buffer, &fenceFd); in dequeueBuffer()
33 if (ret || fenceFd < 0) return ret; in dequeueBuffer()
34 sync_wait(fenceFd, -1 /* forever */); in dequeueBuffer()
35 close(fenceFd); in dequeueBuffer()
39 inline int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) in queueBuffer() argument
41 return ANativeWindow_queueBuffer(window, buffer, fenceFd); in queueBuffer()
44 inline int cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) in cancelBuffer() argument
46 return ANativeWindow_cancelBuffer(window, buffer, fenceFd); in cancelBuffer()
/third_party/mesa3d/src/egl/drivers/dri2/
H A Dplatform_android.h67 int *fenceFd) in ANativeWindow_dequeueBuffer()
69 return window->dequeueBuffer(window, buffer, fenceFd); in ANativeWindow_dequeueBuffer()
75 int fenceFd) in ANativeWindow_queueBuffer()
77 return window->queueBuffer(window, buffer, fenceFd); in ANativeWindow_queueBuffer()
83 int fenceFd) in ANativeWindow_cancelBuffer()
85 return window->cancelBuffer(window, buffer, fenceFd); in ANativeWindow_cancelBuffer()
65 ANativeWindow_dequeueBuffer(struct ANativeWindow *window, struct ANativeWindowBuffer **buffer, int *fenceFd) ANativeWindow_dequeueBuffer() argument
73 ANativeWindow_queueBuffer(struct ANativeWindow *window, struct ANativeWindowBuffer *buffer, int fenceFd) ANativeWindow_queueBuffer() argument
81 ANativeWindow_cancelBuffer(struct ANativeWindow *window, struct ANativeWindowBuffer *buffer, int fenceFd) ANativeWindow_cancelBuffer() argument
H A Dplatform_ohos.h67 int *fenceFd) in ANativeWindow_dequeueBuffer()
69 return NativeWindowRequestBuffer(window, buffer, fenceFd); in ANativeWindow_dequeueBuffer()
75 int fenceFd) in ANativeWindow_queueBuffer()
80 return NativeWindowFlushBuffer(window, buffer, fenceFd, dirty); in ANativeWindow_queueBuffer()
86 int fenceFd) in ANativeWindow_cancelBuffer()
65 ANativeWindow_dequeueBuffer(struct ANativeWindow *window, struct ANativeWindowBuffer **buffer, int *fenceFd) ANativeWindow_dequeueBuffer() argument
73 ANativeWindow_queueBuffer(struct ANativeWindow *window, struct ANativeWindowBuffer *buffer, int fenceFd) ANativeWindow_queueBuffer() argument
84 ANativeWindow_cancelBuffer(struct ANativeWindow *window, struct ANativeWindowBuffer *buffer, int fenceFd) ANativeWindow_cancelBuffer() argument
/third_party/skia/third_party/externals/swiftshader/include/Android/vndk/
H A Dwindow.h28 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
29 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
30 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
/third_party/mesa3d/src/android_stub/
H A Dnativewindow_stub.cpp73 int *fenceFd) in ANativeWindow_dequeueBuffer()
81 int fenceFd) in ANativeWindow_queueBuffer()
88 int fenceFd) { in ANativeWindow_cancelBuffer()
71 ANativeWindow_dequeueBuffer(ANativeWindow *window, ANativeWindowBuffer **buffer, int *fenceFd) ANativeWindow_dequeueBuffer() argument
79 ANativeWindow_queueBuffer(ANativeWindow *window, ANativeWindowBuffer *buffer, int fenceFd) ANativeWindow_queueBuffer() argument
86 ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) ANativeWindow_cancelBuffer() argument
/third_party/mesa3d/include/android_stub/vndk/
H A Dwindow.h191 * fenceFd argument will refer to the fence that must signal before the
199 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
212 * The fenceFd argument specifies a libsync fence file descriptor for a
221 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
236 * The fenceFd argument specifies a libsync fence file decsriptor for a
249 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DGrallocAndroid.cpp258 int32_t fenceFd = -1; in unlock() local
259 int error = m_gralloc1_unlock(m_gralloc1_device, handle, &fenceFd); in unlock()
262 sync_wait(fenceFd, -1); in unlock()
263 close(fenceFd); in unlock()
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DGrallocAndroid.cpp258 int32_t fenceFd = -1; in unlock() local
259 int error = m_gralloc1_unlock(m_gralloc1_device, handle, &fenceFd); in unlock()
262 sync_wait(fenceFd, -1); in unlock()
263 close(fenceFd); in unlock()
/third_party/mesa3d/include/android_stub/hardware/
H A Dgralloc.h277 * The gralloc implementation takes ownership of the fenceFd and
285 void** vaddr, int fenceFd);
293 * The caller takes ownership of the fenceFd and is responsible
299 buffer_handle_t handle, int* fenceFd);
307 * The gralloc implementation takes ownership of the fenceFd and
315 struct android_ycbcr *ycbcr, int fenceFd);
/third_party/mesa3d/include/android_stub/system/
H A Dwindow.h562 * fenceFd argument will refer to the fence that must signal before the
571 struct ANativeWindowBuffer** buffer, int* fenceFd);
583 * The fenceFd argument specifies a libsync fence file descriptor for a
593 struct ANativeWindowBuffer* buffer, int fenceFd);
607 * The fenceFd argument specifies a libsync fence file decsriptor for a
621 struct ANativeWindowBuffer* buffer, int fenceFd);

Completed in 9 milliseconds