Home
last modified time | relevance | path

Searched refs:release_fence (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dconsumer_buffer.cpp133 const LocalHandle& release_fence) { in LocalRelease() argument
165 if (const int error = UpdateSharedFence(release_fence, shared_release_fence_)) in LocalRelease()
171 int ConsumerBuffer::Release(const LocalHandle& release_fence) { in Release() argument
175 if (const int error = LocalRelease(&meta, release_fence)) in Release()
179 BorrowedFence(release_fence.Borrow()))); in Release()
188 const LocalHandle& release_fence) { in ReleaseAsync() argument
191 if (const int error = LocalRelease(meta, release_fence)) in ReleaseAsync()
Dproducer_buffer.cpp228 int ProducerBuffer::Gain(LocalHandle* release_fence, bool gain_posted_buffer) { in Gain() argument
232 if (const int error = LocalGain(&meta, release_fence, gain_posted_buffer)) in Gain()
242 LocalHandle* release_fence, in GainAsync() argument
246 if (const int error = LocalGain(out_meta, release_fence, gain_posted_buffer)) in GainAsync()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dconsumer_buffer.h44 int Release(const LocalHandle& release_fence);
52 const LocalHandle& release_fence);
67 const LocalHandle& release_fence);
Dproducer_buffer.h52 int Gain(LocalHandle* release_fence, bool gain_posted_buffer = false);
Dbufferhub_rpc.h343 void(LocalFence release_fence));
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputUtilsTemplated.h246 bDst.release_fence = -1; in processOneCaptureResultLockedT()
251 bDst.release_fence = dup(getHandleFirstFd(bSrc.releaseFence)); in processOneCaptureResultLockedT()
283 inputBuffer.release_fence = -1; in processOneCaptureResultLockedT()
285 inputBuffer.release_fence = dup(getHandleFirstFd(result.inputBuffer.releaseFence)); in processOneCaptureResultLockedT()
330 streamBuffer.release_fence = -1; in returnStreamBuffersT()
333 streamBuffer.release_fence = -1; in returnStreamBuffersT()
335 streamBuffer.release_fence = dup(getHandleFirstFd(buf.releaseFence)); in returnStreamBuffersT()
DCamera3InputStream.cpp146 if (buffer.release_fence != -1) { in returnBufferCheckedLocked()
148 "there is an error", __FUNCTION__, mId, buffer.release_fence); in returnBufferCheckedLocked()
149 close(buffer.release_fence); in returnBufferCheckedLocked()
155 const_cast<camera_stream_buffer*>(&buffer)->release_fence = in returnBufferCheckedLocked()
163 sp<Fence> releaseFence = new Fence(buffer.release_fence); in returnBufferCheckedLocked()
DCamera3IOStreamBase.h126 int release_fence,
DCamera3IOStreamBase.cpp192 buffer.release_fence = releaseFence; in handoutBufferLocked()
DCamera3StreamInterface.h78 int release_fence; member
DCamera3Stream.cpp589 mPreparedBuffers.editItemAt(i).release_fence = -1; in cancelPrepareLocked()
DCamera3OutputStream.cpp353 sp<Fence> releaseFence = new Fence(buffer.release_fence); in returnBufferCheckedLocked()
DCamera3OutputUtils.cpp1356 streamBuffer.release_fence = -1; in flushInflightRequests()
DCamera3Device.cpp4057 buffer.release_fence = -1; in prepareHalRequests()
/frameworks/native/services/vr/bufferhubd/
Dconsumer_channel.cpp132 LocalFence release_fence) { in OnConsumerRelease() argument
146 producer->OnConsumerRelease(message, std::move(release_fence)); in OnConsumerRelease()
Dproducer_channel.cpp518 LocalFence release_fence) { in OnConsumerRelease() argument
524 if (release_fence) { in OnConsumerRelease()
528 release_fence.get_fd())); in OnConsumerRelease()
537 returned_fence_ = std::move(release_fence); in OnConsumerRelease()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp322 release_fence(-1), in Image()
337 int release_fence; member
363 int release_fence, in ReleaseSwapchainImage() argument
368 ALOG_ASSERT(release_fence == -1 || image.dequeued, in ReleaseSwapchainImage()
373 if (release_fence >= 0) { in ReleaseSwapchainImage()
389 release_fence = image.dequeue_fence; in ReleaseSwapchainImage()
395 window->cancelBuffer(window, image.buffer.get(), release_fence); in ReleaseSwapchainImage()
397 if (release_fence >= 0) { in ReleaseSwapchainImage()
398 sync_wait(release_fence, -1 /* forever */); in ReleaseSwapchainImage()
399 close(release_fence); in ReleaseSwapchainImage()
[all …]
/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dconsumer_channel.h40 LocalFence release_fence);
Dproducer_channel.h63 LocalFence release_fence);