/hardware/qcom/sm7250/display/sdm/libs/utils/ |
D | fence.cpp | 70 shared_ptr<Fence> fence(new Fence(fd, name)); in Create() local 71 if (!fence) { in Create() 77 return fence; in Create() 80 int Fence::Dup(const shared_ptr<Fence> &fence) { in Dup() argument 81 return (fence ? dup(fence->fd_) : -1); in Dup() 84 int Fence::Get(const shared_ptr<Fence> &fence) { in Get() argument 85 return (fence ? fence->fd_ : -1); in Get() 106 for (auto &fence : fences) { in Merge() local 107 if (ignore_signaled && (Fence::Wait(fence, 0) == kErrorNone)) { in Merge() 111 merged_fence = Fence::Merge(fence, merged_fence); in Merge() [all …]
|
/hardware/qcom/sm7250/display/sdm/include/utils/ |
D | fence.h | 60 int Get(const shared_ptr<Fence> &fence); 77 static int Dup(const shared_ptr<Fence> &fence); 85 static DisplayError Wait(const shared_ptr<Fence> &fence); 86 static DisplayError Wait(const shared_ptr<Fence> &fence, int timeout); 89 static Status GetStatus(const shared_ptr<Fence> &fence); 91 static string GetStr(const shared_ptr<Fence> &fence); 98 Fence(const Fence &fence) = delete; 99 Fence& operator=(const Fence &fence) = delete; 100 Fence(Fence &&fence) = delete; 101 Fence& operator=(Fence &&fence) = delete; [all …]
|
/hardware/interfaces/graphics/mapper/3.0/vts/functional/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 284 int fence = -1; in TEST_P() local 289 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence, in TEST_P() 305 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); in TEST_P() 312 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence, in TEST_P() 324 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); in TEST_P() 325 if (fence >= 0) { in TEST_P() 326 close(fence); in TEST_P() 352 int fence = -1; in TEST_P() local 356 mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P() 364 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); in TEST_P() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/vts/functional/ |
D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 283 int fence = -1; in TEST_P() local 286 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence))); in TEST_P() 297 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); in TEST_P() 301 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence))); in TEST_P() 309 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); in TEST_P() 310 if (fence >= 0) { in TEST_P() 311 close(fence); in TEST_P() 330 int fence = -1; in TEST_P() local 332 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P() 349 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); in TEST_P() [all …]
|
/hardware/google/graphics/common/libscaler/ |
D | libscaler-v4l2.h | 160 inline void SetAddr(FrameInfo &frm, void *addr[SC_NUM_OF_PLANES], int mem_type, int fence) in SetAddr() argument 166 frm.fdAcquireFence = fence; in SetAddr() 309 inline bool SetSrcAddr(void *addr[SC_NUM_OF_PLANES], int mem_type, int fence = -1) { 310 SetAddr(m_frmSrc, addr, mem_type, fence); 314 inline bool SetDstAddr(void *addr[SC_NUM_OF_PLANES], int mem_type, int fence = -1) { 315 SetAddr(m_frmDst, addr, mem_type, fence);
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayRotator.h | 58 void setReleaseFd(const int& fence); 74 void setReleaseFd(const int& fence) { curr().setReleaseFd(fence); } in setReleaseFd() 98 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } in setReleaseFd() argument
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayRotator.h | 55 void setCurrBufReleaseFd(const int& fence); 56 void setPrevBufReleaseFd(const int& fence); 100 inline void setCurrBufReleaseFd(const int& fence) { in setCurrBufReleaseFd() argument 101 mMem.setCurrBufReleaseFd(fence); in setCurrBufReleaseFd() 103 inline void setPrevBufReleaseFd(const int& fence) { in setPrevBufReleaseFd() argument 104 mMem.setPrevBufReleaseFd(fence); in setPrevBufReleaseFd()
|
D | overlayRotator.cpp | 126 void RotMem::setCurrBufReleaseFd(const int& fence) { in setCurrBufReleaseFd() argument 141 mRelFence[mCurrIndex] = fence; in setCurrBufReleaseFd() 144 void RotMem::setPrevBufReleaseFd(const int& fence) { in setPrevBufReleaseFd() argument 155 mRelFence[prevIndex] = fence; in setPrevBufReleaseFd()
|
/hardware/google/graphics/common/libhwc2.1/ |
D | ExynosHWCDebug.h | 62 …ne int hwcCheckFenceDebug(ExynosDisplay *display, uint32_t fence_type, uint32_t ip_type, int fence) in hwcCheckFenceDebug() argument 64 if ((hwcFenceDebug[ip_type] & (1 << fence_type)) && fence_valid(fence)) in hwcCheckFenceDebug() 65 return fence_close(fence, display, FENCE_TYPE_ALL, FENCE_IP_ALL); in hwcCheckFenceDebug() 67 return fence; in hwcCheckFenceDebug()
|
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/2/android/hardware/graphics/composer3/ |
D | PresentFence.aidl | 38 ParcelFileDescriptor fence;
|
D | Buffer.aidl | 39 @nullable ParcelFileDescriptor fence;
|
D | ReleaseFences.aidl | 42 ParcelFileDescriptor fence;
|
/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/ |
D | PresentFence.aidl | 29 ParcelFileDescriptor fence;
|
D | ReleaseFences.aidl | 36 ParcelFileDescriptor fence;
|
D | Buffer.aidl | 43 @nullable ParcelFileDescriptor fence;
|
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/ |
D | PresentFence.aidl | 38 ParcelFileDescriptor fence;
|
D | Buffer.aidl | 39 @nullable ParcelFileDescriptor fence;
|
D | ReleaseFences.aidl | 42 ParcelFileDescriptor fence;
|
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/1/android/hardware/graphics/composer3/ |
D | PresentFence.aidl | 38 ParcelFileDescriptor fence;
|
D | Buffer.aidl | 39 @nullable ParcelFileDescriptor fence;
|
D | ReleaseFences.aidl | 42 ParcelFileDescriptor fence;
|
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerCommandEngine.h | 217 auto fence = readFence(); in executeSetClientTarget() local 227 err = mHal->setClientTarget(mCurrentDisplay, clientTarget, fence, dataspace, damage); in executeSetClientTarget() 233 close(fence); in executeSetClientTarget() 250 auto fence = readFence(); in executeSetOutputBuffer() local 258 err = mHal->setOutputBuffer(mCurrentDisplay, outputBuffer, fence); in executeSetOutputBuffer() 264 close(fence); in executeSetOutputBuffer() 365 auto fence = readFence(); in executeSetLayerBuffer() local 373 err = mHal->setLayerBuffer(mCurrentDisplay, mCurrentLayer, buffer, fence); in executeSetLayerBuffer() 379 close(fence); in executeSetLayerBuffer()
|
/hardware/interfaces/media/omx/1.0/ |
D | IOmxNode.hal | 270 * Pass \p fence to the node if it supports fences. Otherwise, it waits on 271 * \p fence before calling OMX_FillThisBuffer(). The node will take 272 * ownership of the fence even if this call fails. 280 * @param fence Fence to wait for (if not null). 288 Fence fence 294 * Pass \p fence to the node if it supports fences. Otherwise, wait on 295 * \p fence before calling OMX_EmptyThisBuffer(). The node will take 296 * ownership of the fence even if this call fails. 306 * @param fence Fence to wait for (if not null). 316 Fence fence
|
D | IOmxBufferSource.hal | 64 * @param[in] fence is the fence associated with the buffer. 66 oneway onInputBufferEmptied(BufferId buffer, Fence fence);
|
/hardware/interfaces/staging/c2/aidl/android/hardware/media/c2/ |
D | Block.aidl | 42 NativeHandle fence;
|