Home
last modified time | relevance | path

Searched refs:acquireFence (Results 1 – 25 of 35) sorted by relevance

12

/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp165 const IMapper::Rect& accessRegion, int acquireFence) { in lock() argument
170 if (acquireFence >= 0) { in lock()
172 h->data[0] = acquireFence; in lock()
183 if (acquireFence >= 0) { in lock()
184 close(acquireFence); in lock()
191 const IMapper::Rect& accessRegion, int acquireFence) { in lockYCbCr() argument
196 if (acquireFence >= 0) { in lockYCbCr()
198 h->data[0] = acquireFence; in lockYCbCr()
210 if (acquireFence >= 0) { in lockYCbCr()
211 close(acquireFence); in lockYCbCr()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp180 const IMapper::Rect& accessRegion, int acquireFence, int32_t* outBytesPerPixel, in lock() argument
186 if (acquireFence >= 0) { in lock()
188 h->data[0] = acquireFence; in lock()
205 if (acquireFence >= 0) { in lock()
206 close(acquireFence); in lock()
213 const IMapper::Rect& accessRegion, int acquireFence) { in lockYCbCr() argument
218 if (acquireFence >= 0) { in lockYCbCr()
220 h->data[0] = acquireFence; in lockYCbCr()
232 if (acquireFence >= 0) { in lockYCbCr()
233 close(acquireFence); in lockYCbCr()
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp444 int acquireFence) in lock() argument
450 accessRegion.height, outData, acquireFence); in lock()
455 syncWaitForever(acquireFence, "Gralloc1On0Adapter::lock"); in lock()
464 } else if (acquireFence >= 0) { in lock()
465 close(acquireFence); in lock()
477 int acquireFence) in lockFlex() argument
489 outFlex, acquireFence); in lockFlex()
494 syncWaitForever(acquireFence, "Gralloc1On0Adapter::lockFlex"); in lockFlex()
508 } else if (acquireFence >= 0) { in lockFlex()
509 close(acquireFence); in lockFlex()
DGralloc1On0Adapter.h354 int acquireFence);
360 int acquireFence);
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h96 const hidl_handle& acquireFence, IMapper::lock_cb hidl_cb) override { in lock() argument
104 Error error = getFenceFd(acquireFence, &fenceFd); in lock()
117 const hidl_handle& acquireFence, in lockYCbCr() argument
126 Error error = getFenceFd(acquireFence, &fenceFd); in lockYCbCr()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h72 const IMapper::Rect& accessRegion, int acquireFence);
74 const IMapper::Rect& accessRegion, int acquireFence);
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h73 const IMapper::Rect& accessRegion, int acquireFence, int32_t* outBytesPerPixel,
76 const IMapper::Rect& accessRegion, int acquireFence);
/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/
DComposerCommandBuffer.h67 void setClientTarget(uint32_t slot, const native_handle_t* target, int acquireFence, in setClientTarget() argument
69 setClientTargetInternal(slot, target, acquireFence, static_cast<int32_t>(dataspace), in setClientTarget()
/hardware/interfaces/camera/device/3.2/default/include/
Dconvert.h49 buffer_handle_t*, BufferStatus, camera3_stream_t*, int acquireFence, // inputs
/hardware/interfaces/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/
DComposerCommandBuffer.h62 void setClientTarget(uint32_t slot, const native_handle_t* target, int acquireFence, in setClientTarget() argument
64 setClientTargetInternal(slot, target, acquireFence, static_cast<int32_t>(dataspace), in setClientTarget()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp220 int32_t acquireFence, int32_t dataspace, hwc_region_t /*damage*/) { in setClientTargetHook() argument
221 if (acquireFence >= 0) { in setClientTargetHook()
222 sync_wait(acquireFence, -1); in setClientTargetHook()
223 close(acquireFence); in setClientTargetHook()
457 buffer_handle_t /*buffer*/, int32_t acquireFence) { in setLayerBufferHook() argument
458 if (acquireFence >= 0) { in setLayerBufferHook()
459 sync_wait(acquireFence, -1); in setLayerBufferHook()
460 close(acquireFence); in setLayerBufferHook()
/hardware/interfaces/camera/device/3.2/default/
Dconvert.cpp102 buffer_handle_t* bufPtr, BufferStatus status, camera3_stream_t* stream, int acquireFence, in convertFromHidl() argument
107 dst->acquire_fence = acquireFence; in convertFromHidl()
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDeviceSession.cpp226 if (!sHandleImporter.importFence(hBuf.acquireFence, in threadLoop()
227 mBufferReqs[i].acquireFence)) { in threadLoop()
232 importedFences[i] = mBufferReqs[i].acquireFence; in threadLoop()
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal161 * @param acquireFence when non-empty, is a handle containing a file
164 * it is already safe to lock, acquireFence is empty.
179 handle acquireFence)
197 * @param acquireFence when non-empty, is a handle containing a file
200 * it is already safe to lock, acquireFence is empty.
215 handle acquireFence)
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h248 void setClientTarget(uint32_t slot, const native_handle_t* target, int acquireFence, in setClientTarget() argument
250 setClientTargetInternal(slot, target, acquireFence, static_cast<int32_t>(dataspace), in setClientTarget()
298 void setLayerBuffer(uint32_t slot, const native_handle_t* buffer, int acquireFence) { in setLayerBuffer() argument
302 writeFence(acquireFence); in setLayerBuffer()
406 void setClientTargetInternal(uint32_t slot, const native_handle_t* target, int acquireFence, in setClientTargetInternal() argument
415 writeFence(acquireFence); in setClientTargetInternal()
/hardware/libhardware/include/hardware/
Dgralloc1.h965 int32_t acquireFence);
1014 struct android_flex_layout* outFlexLayout, int32_t acquireFence);
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerHal.h99 virtual Error setClientTarget(Display display, buffer_handle_t target, int32_t acquireFence,
115 int32_t acquireFence) = 0;
/hardware/interfaces/graphics/mapper/3.0/
DIMapper.hal210 * @param acquireFence Handle containing a file descriptor referring to a
212 * mapper to lock the buffer. @p acquireFence may be an empty fence if
229 handle acquireFence)
252 * @param acquireFence Handle containing a file descriptor referring to a
254 * mapper to lock the buffer. @p acquireFence may be empty if it is
269 handle acquireFence)
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp352 const AccessRegion& accessRegionRect, int acquireFence) { in lock() argument
361 return mGralloc3->lock(bufferHandle, cpuUsage, accessRegion, acquireFence, &bytesPerPixel, in lock()
369 return mGralloc2->lock(bufferHandle, cpuUsage, accessRegion, acquireFence); in lock()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp591 request.outputBuffers[i].acquireFence, allFences[i])) { in importRequestLockedImpl()
761 halBuf.acquireFence = allFences[i]; in processOneCaptureRequest()
816 if (req->buffers[i].acquireFence >= 0) { in processCaptureRequestError()
818 handle->data[0] = req->buffers[i].acquireFence; in processCaptureRequestError()
856 if (req->buffers[i].acquireFence >= 0) { in processCaptureResult()
858 handle->data[0] = req->buffers[i].acquireFence; in processCaptureResult()
865 if (req->buffers[i].acquireFence >= 0) { in processCaptureResult()
867 handle->data[0] = req->buffers[i].acquireFence; in processCaptureResult()
1782 halBuf.acquireFence = relFence; in createJpegLocked()
1885 } else if (halBuf.acquireFence >= 0) { in threadLoop()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3StreamMem.h148 int32_t acquireFence);
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h147 const AccessRegion& accessRegionRect, int acquireFence);
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h309 Error setClientTarget(Display display, buffer_handle_t target, int32_t acquireFence, in setClientTarget() argument
313 mDispatch.setClientTarget(mDevice, display, target, acquireFence, dataspace, region); in setClientTarget()
418 int32_t acquireFence) override { in setLayerBuffer() argument
419 int32_t err = mDispatch.setLayerBuffer(mDevice, display, layer, buffer, acquireFence); in setLayerBuffer()
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp585 auto acquireFence = va_arg(args, int); in gralloc_perform() local
586 (void) acquireFence; in gralloc_perform()
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp635 auto acquireFence = va_arg(args, int); in gralloc_perform() local
636 (void) acquireFence; in gralloc_perform()

12