Searched defs:fenceFd (Results 1 - 13 of 13) sorted by relevance

/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp119 int usage, const Rect& bounds, void** vaddr, int fenceFd)
127 vaddr, fenceFd);
129 sync_wait(fenceFd, -1);
130 close(fenceFd);
141 int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd)
150 ycbcr, fenceFd);
152 sync_wait(fenceFd, -1);
153 close(fenceFd);
165 status_t GraphicBufferMapper::unlockAsync(buffer_handle_t handle, int *fenceFd) argument
171 err = mAllocMod->unlockAsync(mAllocMod, handle, fenceFd);
118 lockAsync(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr, int fenceFd) argument
140 lockAsyncYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument
[all...]
H A DFence.cpp38 Fence::Fence(int fenceFd) : argument
39 mFenceFd(fenceFd) {
H A DFramebufferNativeWindow.cpp223 int fenceFd = -1; local
224 int result = dequeueBuffer(window, buffer, &fenceFd);
225 sp<Fence> fence(new Fence(fenceFd));
236 ANativeWindowBuffer** buffer, int* fenceFd)
257 *fenceFd = -1;
275 ANativeWindowBuffer* buffer, int fenceFd)
282 sp<Fence> fence(new Fence(fenceFd));
235 dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) argument
274 queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) argument
H A DGraphicBuffer.cpp212 status_t GraphicBuffer::lockAsync(uint32_t usage, void** vaddr, int fenceFd) argument
215 status_t res = lockAsync(usage, lockBounds, vaddr, fenceFd);
219 status_t GraphicBuffer::lockAsync(uint32_t usage, const Rect& rect, void** vaddr, int fenceFd) argument
228 status_t res = getBufferMapper().lockAsync(handle, usage, rect, vaddr, fenceFd);
232 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t usage, android_ycbcr *ycbcr, int fenceFd) argument
235 status_t res = lockAsyncYCbCr(usage, lockBounds, ycbcr, fenceFd);
239 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr, int fenceFd) argument
248 status_t res = getBufferMapper().lockAsyncYCbCr(handle, usage, rect, ycbcr, fenceFd);
252 status_t GraphicBuffer::unlockAsync(int *fenceFd) argument
254 status_t res = getBufferMapper().unlockAsync(handle, fenceFd);
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp62 int fenceFd; local
77 fenceFd = bufferItem.mFence->dup();
83 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
H A DCamera3OutputStream.cpp95 int fenceFd; local
111 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd);
123 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
H A DCamera3ZslStream.cpp150 int fenceFd; local
172 fenceFd = bufferItem->getBufferItem().mFence->dup();
178 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
/frameworks/native/libs/gui/
H A DGLConsumer.cpp651 int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync); local
653 if (fenceFd == EGL_NO_NATIVE_FENCE_FD_ANDROID) {
658 sp<Fence> fence(new Fence(fenceFd));
944 int fenceFd = mCurrentFence->dup(); local
945 if (fenceFd == -1) {
950 EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceFd,
956 close(fenceFd);
H A DSurface.cpp109 ANativeWindowBuffer** buffer, int* fenceFd) {
111 return c->dequeueBuffer(buffer, fenceFd);
115 ANativeWindowBuffer* buffer, int fenceFd) {
117 return c->cancelBuffer(buffer, fenceFd);
121 ANativeWindowBuffer* buffer, int fenceFd) {
123 return c->queueBuffer(buffer, fenceFd);
130 int fenceFd = -1; local
131 int result = c->dequeueBuffer(&buf, &fenceFd);
132 sp<Fence> fence(new Fence(fenceFd));
192 int Surface::dequeueBuffer(android_native_buffer_t** buffer, int* fenceFd) { argument
108 hook_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) argument
114 hook_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) argument
120 hook_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) argument
261 cancelBuffer(android_native_buffer_t* buffer, int fenceFd) argument
294 queueBuffer(android_native_buffer_t* buffer, int fenceFd) argument
814 int fenceFd = -1; local
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp377 int fenceFd = -1; local
379 &fenceFd) != NO_ERROR) {
384 sp<Fence> fence(new Fence(fenceFd));
386 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd);
532 int fenceFd = -1; local
533 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer, &fenceFd) == NO_ERROR) {
534 sp<Fence> fence(new Fence(fenceFd));
536 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd);
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp528 int fenceFd = -1; local
536 fenceFd = fence->dup();
537 if (fenceFd == -1) {
542 layer.setAcquireFenceFd(fenceFd);
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2009 int fenceFd = -1; local
2114 int fenceFd = -1; local
H A DACodec.cpp938 int fenceFd = -1; local
3966 int fenceFd = -1; local

Completed in 213 milliseconds