Home
last modified time | relevance | path

Searched refs:release_fence (Results 1 – 22 of 22) 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.h240 bDst.release_fence = -1; in processOneCaptureResultLockedT()
245 bDst.release_fence = dup(getHandleFirstFd(bSrc.releaseFence)); in processOneCaptureResultLockedT()
277 inputBuffer.release_fence = -1; in processOneCaptureResultLockedT()
279 inputBuffer.release_fence = dup(getHandleFirstFd(result.inputBuffer.releaseFence)); in processOneCaptureResultLockedT()
322 streamBuffer.release_fence = -1; in returnStreamBuffersT()
325 streamBuffer.release_fence = -1; in returnStreamBuffersT()
327 streamBuffer.release_fence = dup(getHandleFirstFd(buf.releaseFence)); in returnStreamBuffersT()
DCamera3InputStream.cpp148 if (buffer.release_fence != -1) { in returnBufferCheckedLocked()
150 "there is an error", __FUNCTION__, mId, buffer.release_fence); in returnBufferCheckedLocked()
151 close(buffer.release_fence); in returnBufferCheckedLocked()
157 const_cast<camera_stream_buffer*>(&buffer)->release_fence = in returnBufferCheckedLocked()
165 sp<Fence> releaseFence = new Fence(buffer.release_fence); in returnBufferCheckedLocked()
DCamera3IOStreamBase.h125 int release_fence,
DCamera3IOStreamBase.cpp186 buffer.release_fence = releaseFence; in handoutBufferLocked()
DCamera3StreamInterface.h77 int release_fence; member
DCamera3Stream.cpp582 mPreparedBuffers.editItemAt(i).release_fence = -1; in cancelPrepareLocked()
DCamera3OutputUtils.cpp1124 streamBuffer.release_fence = -1; in flushInflightRequests()
DCamera3OutputStream.cpp408 sp<Fence> releaseFence = new Fence(buffer.release_fence); in returnBufferCheckedLocked()
DCamera3Device.cpp3870 buffer.release_fence = -1; in prepareHalRequests()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp266 release_fence(-1), in Image()
278 int release_fence; member
304 int release_fence, in ReleaseSwapchainImage() argument
309 ALOG_ASSERT(release_fence == -1 || image.dequeued, in ReleaseSwapchainImage()
314 if (release_fence >= 0) { in ReleaseSwapchainImage()
330 release_fence = image.dequeue_fence; in ReleaseSwapchainImage()
336 window->cancelBuffer(window, image.buffer.get(), release_fence); in ReleaseSwapchainImage()
338 if (release_fence >= 0) { in ReleaseSwapchainImage()
339 sync_wait(release_fence, -1 /* forever */); in ReleaseSwapchainImage()
340 close(release_fence); in ReleaseSwapchainImage()
[all …]
/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/services/vr/bufferhubd/include/private/dvr/
Dconsumer_channel.h40 LocalFence release_fence);
Dproducer_channel.h63 LocalFence release_fence);
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp580 int timeout, size_t* slot, LocalHandle* release_fence) { in Dequeue() argument
582 return Dequeue(timeout, slot, &canonical_meta, release_fence); in Dequeue()
587 pdx::LocalHandle* release_fence, bool gain_posted_buffer) { in Dequeue() argument
589 if (slot == nullptr || out_meta == nullptr || release_fence == nullptr) { in Dequeue()
614 buffer->GainAsync(out_meta, release_fence, gain_posted_buffer); in Dequeue()
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp75 pdx::LocalHandle release_fence; in GainBuffer() local
85 producer_queue_->Dequeue(timeout, &slot, out_meta, &release_fence); in GainBuffer()
166 *out_fence_fd = release_fence.Release(); in GainBuffer()
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h359 int timeout, size_t* slot, pdx::LocalHandle* release_fence);
380 pdx::LocalHandle* release_fence, bool gain_posted_buffer = false);