Home
last modified time | relevance | path

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

/external/swiftshader/src/Main/
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()
/external/mesa3d/include/android_stub/apex/
Dwindow.h47 int fenceFd);
58 int fenceFd);
65 int* fenceFd);
76 int* fenceFd);
99 int fenceFd);
110 int fenceFd);
/external/swiftshader/include/Android/vndk/
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);
/external/mesa3d/include/android_stub/vndk/
Dwindow.h199 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
221 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
249 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
/external/mesa3d/include/android_stub/hardware/
Dgralloc.h285 void** vaddr, int fenceFd);
299 buffer_handle_t handle, int* fenceFd);
315 struct android_ycbcr *ycbcr, int fenceFd);
/external/swiftshader/src/Common/
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()
/external/swiftshader/src/System/
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()
/external/minigbm/cros_gralloc/gralloc3/
DCrosGralloc3Utils.cc362 int convertToFenceHandle(int fenceFd, hidl_handle* outFenceHandle) { in convertToFenceHandle() argument
366 if (fenceFd < 0) { in convertToFenceHandle()
372 fenceHandle->data[0] = fenceFd; in convertToFenceHandle()
/external/mesa3d/include/android_stub/system/
Dwindow.h509 struct ANativeWindowBuffer** buffer, int* fenceFd);
531 struct ANativeWindowBuffer* buffer, int fenceFd);
559 struct ANativeWindowBuffer* buffer, int fenceFd);
/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Utils.cc367 int convertToFenceHandle(int fenceFd, hidl_handle* outFenceHandle) { in convertToFenceHandle() argument
371 if (fenceFd < 0) { in convertToFenceHandle()
377 fenceHandle->data[0] = fenceFd; in convertToFenceHandle()