Home
last modified time | relevance | path

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

1234

/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.cpp186 const IMapper::Rect& accessRegion, int acquireFence, int32_t* outBytesPerPixel, in lock() argument
192 if (acquireFence >= 0) { in lock()
194 h->data[0] = acquireFence; in lock()
211 if (acquireFence >= 0) { in lock()
212 close(acquireFence); in lock()
219 const IMapper::Rect& accessRegion, int acquireFence) { in lockYCbCr() argument
224 if (acquireFence >= 0) { in lockYCbCr()
226 h->data[0] = acquireFence; in lockYCbCr()
238 if (acquireFence >= 0) { in lockYCbCr()
239 close(acquireFence); in lockYCbCr()
/hardware/interfaces/camera/device/default/
DExternalCameraOfflineSession.cpp110 if (req->buffers[i].acquireFence >= 0) { in processCaptureResult()
112 handle->data[0] = req->buffers[i].acquireFence; in processCaptureResult()
120 if (req->buffers[i].acquireFence >= 0) { in processCaptureResult()
122 handle->data[0] = req->buffers[i].acquireFence; in processCaptureResult()
249 if (req->buffers[i].acquireFence >= 0) { in processCaptureRequestError()
251 handle->data[0] = req->buffers[i].acquireFence; in processCaptureRequestError()
455 } else if (halBuf.acquireFence >= 0) { in threadLoop()
456 int ret = sync_wait(halBuf.acquireFence, kSyncWaitTimeoutMs); in threadLoop()
460 ::close(halBuf.acquireFence); in threadLoop()
461 halBuf.acquireFence = -1; in threadLoop()
[all …]
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraOfflineSession.cpp188 } else if (halBuf.acquireFence >= 0) { in threadLoop()
189 int ret = sync_wait(halBuf.acquireFence, kSyncWaitTimeoutMs); in threadLoop()
193 ::close(halBuf.acquireFence); in threadLoop()
194 halBuf.acquireFence = -1; in threadLoop()
220 halBuf.acquireFence = relFence; in threadLoop()
273 halBuf.acquireFence = relFence; in threadLoop()
362 if (req->buffers[i].acquireFence >= 0) { in processCaptureResult()
364 handle->data[0] = req->buffers[i].acquireFence; in processCaptureResult()
371 if (req->buffers[i].acquireFence >= 0) { in processCaptureResult()
373 handle->data[0] = req->buffers[i].acquireFence; in processCaptureResult()
[all …]
/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()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h92 const hidl_handle& acquireFence, IMapper::lock_cb hidl_cb) override { in lock() argument
100 Error error = getFenceFd(acquireFence, &fenceFd); in lock()
113 const hidl_handle& acquireFence, in lockYCbCr() argument
122 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/aidl/include/android/hardware/graphics/composer3/
DComposerClientWriter.h87 int acquireFence, Dataspace dataspace, const std::vector<Rect>& damage, in setClientTarget() argument
90 clientTargetCommand.buffer = getBufferCommand(slot, target, acquireFence); in setClientTarget()
144 const native_handle_t* buffer, int acquireFence) { in setLayerBuffer() argument
145 getLayerCommand(display, layer).buffer = getBufferCommand(slot, buffer, acquireFence); in setLayerBuffer()
149 const native_handle_t* buffer, int acquireFence) { in setLayerBufferWithNewCommand() argument
151 getLayerCommand(display, layer).buffer = getBufferCommand(slot, buffer, acquireFence); in setLayerBufferWithNewCommand()
/hardware/google/graphics/common/libhwc2.1/libexternaldisplay/
DExynosExternalDisplay.cpp408 int32_t acquireFence, int32_t /*android_dataspace_t*/ dataspace) { in setClientTarget() argument
422 if (acquireFence >= 0) in setClientTarget()
423 fence_close(acquireFence, this, FENCE_TYPE_SRC_ACQUIRE, FENCE_IP_FB); in setClientTarget()
424 acquireFence = -1; in setClientTarget()
425 … mClientCompositionInfo.setTargetBuffer(this, handle, acquireFence, (android_dataspace)dataspace); in setClientTarget()
429 return ExynosDisplay::setClientTarget(target, acquireFence, dataspace); in setClientTarget()
/hardware/google/gchips/include/
DGrallocWrapper.h60 int acquireFence, void** outData) const;
66 int acquireFence, YCbCrLayout* outLayout) const;
/hardware/interfaces/camera/device/aidl/android/hardware/camera/device/
DStreamBuffer.aidl95 NativeHandle acquireFence;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/1/android/hardware/camera/device/
DStreamBuffer.aidl41 android.hardware.common.NativeHandle acquireFence;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/2/android/hardware/camera/device/
DStreamBuffer.aidl41 android.hardware.common.NativeHandle acquireFence;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/3/android/hardware/camera/device/
DStreamBuffer.aidl41 android.hardware.common.NativeHandle acquireFence;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/current/android/hardware/camera/device/
DStreamBuffer.aidl41 android.hardware.common.NativeHandle 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/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp226 const IMapper::Rect& accessRegion, int acquireFence) { in lock() argument
231 if (acquireFence >= 0) { in lock()
233 h->data[0] = acquireFence; in lock()
244 if (acquireFence >= 0) { in lock()
245 close(acquireFence); in lock()
/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/camera/device/3.2/default/include/
Dconvert.h49 buffer_handle_t*, BufferStatus, camera3_stream_t*, int acquireFence, // inputs
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperProvider.h50 ARect accessRegion, int acquireFence,
133 int acquireFence, void* _Nullable* _Nonnull outData) -> AIMapper_Error { in bindV5()
134 return impl().lock(buffer, cpuUsage, accessRegion, acquireFence, outData); in bindV5()
/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.cpp110 buffer_handle_t* bufPtr, BufferStatus status, camera3_stream_t* stream, int acquireFence, in convertFromHidl() argument
115 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)

1234