Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DSurface.cpp92 ANativeWindowBuffer** buffer, int* fenceFd) { in hook_dequeueBuffer() argument
94 return c->dequeueBuffer(buffer, fenceFd); in hook_dequeueBuffer()
98 ANativeWindowBuffer* buffer, int fenceFd) { in hook_cancelBuffer() argument
100 return c->cancelBuffer(buffer, fenceFd); in hook_cancelBuffer()
104 ANativeWindowBuffer* buffer, int fenceFd) { in hook_queueBuffer() argument
106 return c->queueBuffer(buffer, fenceFd); in hook_queueBuffer()
113 int fenceFd = -1; in hook_dequeueBuffer_DEPRECATED() local
114 int result = c->dequeueBuffer(&buf, &fenceFd); in hook_dequeueBuffer_DEPRECATED()
115 sp<Fence> fence(new Fence(fenceFd)); in hook_dequeueBuffer_DEPRECATED()
177 int* fenceFd) { in dequeueBuffer() argument
[all …]
DGLConsumer.cpp498 int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync); in syncForReleaseLocked() local
500 if (fenceFd == EGL_NO_NATIVE_FENCE_FD_ANDROID) { in syncForReleaseLocked()
505 sp<Fence> fence(new Fence(fenceFd)); in syncForReleaseLocked()
794 int fenceFd = mCurrentFence->dup(); in doGLFenceWaitLocked() local
795 if (fenceFd == -1) { in doGLFenceWaitLocked()
800 EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceFd, in doGLFenceWaitLocked()
806 close(fenceFd); in doGLFenceWaitLocked()
/frameworks/native/include/gui/
DSurface.h89 ANativeWindowBuffer* buffer, int fenceFd);
91 ANativeWindowBuffer** buffer, int* fenceFd);
95 ANativeWindowBuffer* buffer, int fenceFd);
124 virtual int dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd);
125 virtual int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
126 virtual int queueBuffer(ANativeWindowBuffer* buffer, int fenceFd);
/frameworks/native/libs/ui/
DFramebufferNativeWindow.cpp223 int fenceFd = -1; in dequeueBuffer_DEPRECATED() local
224 int result = dequeueBuffer(window, buffer, &fenceFd); in dequeueBuffer_DEPRECATED()
225 sp<Fence> fence(new Fence(fenceFd)); in dequeueBuffer_DEPRECATED()
236 ANativeWindowBuffer** buffer, int* fenceFd) in dequeueBuffer() argument
257 *fenceFd = -1; in dequeueBuffer()
275 ANativeWindowBuffer* buffer, int fenceFd) in queueBuffer() argument
282 sp<Fence> fence(new Fence(fenceFd)); in queueBuffer()
DFence.cpp38 Fence::Fence(int fenceFd) : in Fence() argument
39 mFenceFd(fenceFd) { in Fence()
/frameworks/native/include/ui/
DFramebufferNativeWindow.h69 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
70 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
DFence.h56 Fence(int fenceFd);
/frameworks/av/services/camera/libcameraservice/camera3/
DCamera3InputStream.cpp62 int fenceFd; in getInputBufferLocked() local
77 fenceFd = bufferItem.mFence->dup(); in getInputBufferLocked()
83 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getInputBufferLocked()
DCamera3ZslStream.cpp146 int fenceFd; in getInputBufferLocked() local
168 fenceFd = bufferItem->getBufferItem().mFence->dup(); in getInputBufferLocked()
174 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getInputBufferLocked()
DCamera3OutputStream.cpp93 int fenceFd; in getBufferLocked() local
95 res = mConsumer->dequeueBuffer(mConsumer.get(), &anb, &fenceFd); in getBufferLocked()
106 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, in getBufferLocked()
/frameworks/native/opengl/libagl/
Degl.cpp377 int fenceFd = -1; in connect() local
379 &fenceFd) != NO_ERROR) { in connect()
384 sp<Fence> fence(new Fence(fenceFd)); in connect()
386 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); in connect()
532 int fenceFd = -1; in swapBuffers() local
533 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer, &fenceFd) == NO_ERROR) { in swapBuffers()
534 sp<Fence> fence(new Fence(fenceFd)); in swapBuffers()
536 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); in swapBuffers()
/frameworks/native/services/surfaceflinger/
DLayer.cpp415 int fenceFd = -1; in setAcquireFence() local
423 fenceFd = fence->dup(); in setAcquireFence()
424 if (fenceFd == -1) { in setAcquireFence()
429 layer.setAcquireFenceFd(fenceFd); in setAcquireFence()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h164 virtual void setAcquireFenceFd(int fenceFd) = 0;
DHWComposer.cpp843 virtual void setAcquireFenceFd(int fenceFd) { in setAcquireFenceFd() argument
844 getLayer()->acquireFenceFd = fenceFd; in setAcquireFenceFd()
/frameworks/av/media/libstagefright/
DACodec.cpp711 int fenceFd = -1; in dequeueBufferFromNativeWindow() local
2497 int fenceFd = -1; in pushBlankBuffersToNativeWindow() local
DOMXCodec.cpp1882 int fenceFd = -1; in dequeueBufferFromNativeWindow() local
1987 int fenceFd = -1; in pushBlankBuffersToNativeWindow() local