/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_fencemgr.c | 55 * fence data. 110 wsbmFenceType(struct _WsbmFenceObject *fence) argument 112 return fence->fence_type; 163 struct _WsbmFenceObject *fence = *pFence; local 167 if (fence == NULL) 170 mgr = fence->mgr; 171 if (wsbmAtomicDecZero(&fence->refCount)) { 172 struct _WsbmFenceClass *fc = &mgr->classes[fence->fence_class]; 175 WSBMLISTDELINIT(&fence->head); 177 if (fence 223 wsbmFenceFinish(struct _WsbmFenceObject *fence, uint32_t fence_type, int lazy_hint) argument 243 wsbmFenceSignaledTypeCached(struct _WsbmFenceObject * fence) argument 249 wsbmFenceSignaledType(struct _WsbmFenceObject *fence, uint32_t flush_type, uint32_t * signaled) argument 288 wsbmFenceReference(struct _WsbmFenceObject *fence) argument 302 struct _WsbmFenceObject *fence; local [all...] |
H A D | wsbm_fencemgr.h | 43 * Do a quick check to see if the fence manager has registered the fence 47 extern uint32_t wsbmFenceSignaledTypeCached(struct _WsbmFenceObject *fence); 50 * Check if the fence object is signaled. This function can be substantially 55 extern int wsbmFenceSignaledType(struct _WsbmFenceObject *fence, 63 wsbmFenceSignaled(struct _WsbmFenceObject *fence, uint32_t flush_type) argument 66 int ret = wsbmFenceSignaledType(fence, flush_type, &signaled_types); 74 wsbmFenceSignaledCached(struct _WsbmFenceObject *fence, uint32_t flush_type) argument 76 uint32_t signaled_types = wsbmFenceSignaledTypeCached(fence); 82 * Reference a fence objec [all...] |
H A D | wsbm_userpool.c | 80 struct _WsbmFenceObject *fence; member in struct:_WsbmUserBuffer 125 while (vBuf->unFenced || vBuf->fence != NULL) { 129 if (vBuf->fence != NULL) { 130 if (!wsbmFenceSignaled(vBuf->fence, vBuf->kBuf.fence_type_mask)) { 131 struct _WsbmFenceObject *fence = local 132 wsbmFenceReference(vBuf->fence); 135 (void)wsbmFenceFinish(fence, vBuf->kBuf.fence_type_mask, 139 if (vBuf->fence == fence) 140 wsbmFenceUnreference(&vBuf->fence); 525 pool_fence(struct _WsbmBufStorage *buf, struct _WsbmFenceObject *fence) argument [all...] |
H A D | wsbm_slabpool.c | 97 struct _WsbmFenceObject *fence; member in struct:_WsbmSlabBuffer 622 ret = wsbmFenceFinish(sBuf->fence, sBuf->fenceType, 0); 629 wsbmFenceSignaled(sBuf->fence, sBuf->fenceType); 637 wsbmFenceUnreference(&sBuf->fence); 642 } else if (wsbmFenceSignaledCached(sBuf->fence, sBuf->fenceType)) { 643 wsbmFenceUnreference(&sBuf->fence); 838 if (sBuf->fence && !wsbmFenceSignaledCached(sBuf->fence, sBuf->fenceType)) { 842 if (sBuf->fence) 843 wsbmFenceUnreference(&sBuf->fence); 862 struct _WsbmFenceObject *fence = local 987 pool_fence(struct _WsbmBufStorage *buf, struct _WsbmFenceObject *fence) argument [all...] |
H A D | wsbm_mallocpool.c | 143 pool_fence(struct _WsbmBufStorage *buf __attribute__ ((unused)), struct _WsbmFenceObject *fence __attribute__ ((unused))) 181 pool->fence = &pool_fence;
|
H A D | wsbm_pool.h | 74 void (*fence) (struct _WsbmBufStorage * buf, member in struct:_WsbmBufferPool 75 struct _WsbmFenceObject * fence);
|
H A D | wsbm_manager.h | 142 struct _WsbmFenceObject *fence); 149 struct _WsbmFenceObject *fence);
|
/hardware/interfaces/media/omx/1.0/ |
H A D | IOmxBufferSource.hal | 64 * @param[in] fence is the fence associated with the buffer. 66 oneway onInputBufferEmptied(BufferId buffer, Fence fence);
|
H A 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 [all...] |
/hardware/interfaces/graphics/bufferqueue/1.0/ |
H A D | IGraphicBufferProducer.hal | 53 Fence fence; 133 /** A fence that the consumer must wait on before reading the buffer; 135 Fence fence; 250 * The fence parameter will be updated to hold the fence associated with 252 * fence signals. If the fence is Fence::NO_FENCE, the buffer may be written 304 Fence fence, 342 * equivalent to buffer from the requestBuffer call, and fence is 343 * equivalent to fence fro [all...] |
/hardware/interfaces/graphics/mapper/2.0/vts/functional/ |
H A D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 260 int fence = -1; local 263 bufferHandle, info.usage, region, fence))); 274 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); 278 bufferHandle, info.usage, region, fence))); 286 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); 287 if (fence >= 0) { 288 close(fence); 308 int fence = -1; local 311 layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); 328 ASSERT_NO_FATAL_FAILURE(fence [all...] |
/hardware/qcom/display/msm8909/liboverlay/ |
H A D | overlayRotator.cpp | 126 void RotMem::setCurrBufReleaseFd(const int& fence) { argument 141 mRelFence[mCurrIndex] = fence; 144 void RotMem::setPrevBufReleaseFd(const int& fence) { argument 155 mRelFence[prevIndex] = fence;
|
H A D | overlayRotator.h | 55 void setCurrBufReleaseFd(const int& fence); 56 void setPrevBufReleaseFd(const int& fence); 100 inline void setCurrBufReleaseFd(const int& fence) { argument 101 mMem.setCurrBufReleaseFd(fence); 103 inline void setPrevBufReleaseFd(const int& fence) { argument 104 mMem.setPrevBufReleaseFd(fence);
|
/hardware/qcom/display/msm8994/liboverlay/ |
H A D | overlayRotator.cpp | 126 void RotMem::setCurrBufReleaseFd(const int& fence) { argument 141 mRelFence[mCurrIndex] = fence; 144 void RotMem::setPrevBufReleaseFd(const int& fence) { argument 155 mRelFence[prevIndex] = fence;
|
H A D | overlayRotator.h | 55 void setCurrBufReleaseFd(const int& fence); 56 void setPrevBufReleaseFd(const int& fence); 100 inline void setCurrBufReleaseFd(const int& fence) { argument 101 mMem.setCurrBufReleaseFd(fence); 103 inline void setPrevBufReleaseFd(const int& fence) { argument 104 mMem.setPrevBufReleaseFd(fence);
|
/hardware/intel/img/psb_video/src/mrst/ |
H A D | lnc_cmdbuf.c | 447 struct _WsbmFenceObject *fence = NULL; 450 /* copy fence information */ 452 drv_debug_msg(VIDEO_DEBUG_ERROR, "drm failed to create a fence" 458 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class, 462 if (fence) 463 *status = wsbmFenceFinish(fence, fence_rep->fence_type, 0); 465 return fence; 578 struct _WsbmFenceObject *fence = NULL; 580 fence = lnc_fence_wait(driver_data, &fence_rep, &status); 581 drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_fence_wait returns: %d (fence [all...] |
/hardware/qcom/display/msm8960/liboverlay/ |
H A D | overlayRotator.h | 58 void setReleaseFd(const int& fence); 74 void setReleaseFd(const int& fence) { curr().setReleaseFd(fence); } argument 98 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } argument
|
H A D | overlayRotator.cpp | 93 void RotMem::Mem::setReleaseFd(const int& fence) { argument 108 mRelFence[mCurrOffset] = fence;
|
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayRotator.cpp | 89 void RotMem::setReleaseFd(const int& fence) { argument 104 mRelFence[mCurrIndex] = fence;
|
H A D | overlayRotator.h | 56 void setReleaseFd(const int& fence); 84 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } argument
|
/hardware/intel/img/psb_video/src/ |
H A D | pnw_cmdbuf.c | 500 struct _WsbmFenceObject *fence = NULL; 503 /* copy fence information */ 505 drv_debug_msg(VIDEO_DEBUG_ERROR, "drm failed to create a fence" 511 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class, 515 if (fence) 516 *status = wsbmFenceFinish(fence, fence_rep->fence_type, 0); 518 return fence; 618 struct _WsbmFenceObject *fence = NULL; 620 fence = lnc_fence_wait(driver_data, &fence_rep, &status); 621 drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_fence_wait returns: %d (fence [all...] |
H A D | tng_cmdbuf.c | 663 struct _WsbmFenceObject *fence = NULL; 666 /* copy fence information */ 668 drv_debug_msg(VIDEO_DEBUG_ERROR, "drm failed to create a fence" 674 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class, 678 if (fence) 679 *status = wsbmFenceFinish(fence, fence_rep->fence_type, 0); 681 return fence; 796 struct _WsbmFenceObject *fence = NULL; 798 fence = lnc_fence_wait(driver_data, &fence_rep, &status); 799 drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_fence_wait returns: %d (fence [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlayRotator.cpp | 90 void RotMem::setReleaseFd(const int& fence) { argument 105 mRelFence[mCurrIndex] = fence;
|
H A D | overlayRotator.h | 56 void setReleaseFd(const int& fence); 89 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } argument
|
/hardware/interfaces/graphics/composer/2.1/default/ |
H A D | ComposerClient.cpp | 193 for (auto fence : releaseFences) { 194 if (fence >= 0) { 195 close(fence); 657 auto fence = readFence(); local 665 err = mHal.setClientTarget(mDisplay, clientTarget, fence, 675 close(fence); 693 auto fence = readFence(); local 699 err = mHal.setOutputBuffer(mDisplay, outputBuffer, fence); 708 close(fence); 843 auto fence local [all...] |