/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/interfaces/graphics/mapper/3.0/vts/functional/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 283 int fence = -1; in TEST_P() local 288 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence, in TEST_P() 304 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); in TEST_P() 311 data = static_cast<uint8_t*>(mGralloc->lock(bufferHandle, info.usage, region, fence, in TEST_P() 323 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); in TEST_P() 324 if (fence >= 0) { in TEST_P() 325 close(fence); in TEST_P() 344 int fence = -1; in TEST_P() local 346 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P() 363 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle)); in TEST_P() [all …]
|
/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/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
|
D | overlayRotator.cpp | 93 void RotMem::Mem::setReleaseFd(const int& fence) { in setReleaseFd() argument 108 mRelFence[mCurrOffset] = fence; in setReleaseFd()
|
/hardware/google/av/codec2/vndk/ |
D | C2AllocatorIon.cpp | 127 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, 231 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() argument 232 (void)fence; // TODO: wait for fence in map() 291 c2_status_t unmap(void *addr, size_t size, C2Fence *fence) { in unmap() argument 306 if (fence) { in unmap() 307 *fence = C2Fence(); // not using fences in unmap() 369 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() argument 370 return mImpl->map(offset, size, usage, fence, addr); in map() 373 c2_status_t C2AllocationIon::unmap(void *addr, size_t size, C2Fence *fence) { in unmap() argument 374 return mImpl->unmap(addr, size, fence); in unmap()
|
D | C2Buffer.cpp | 270 …k::C2ConstLinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range, C2Fence fence) in C2ConstLinearBlock() argument 271 : C2Block1D(impl, range), mFence(fence) { } in C2ConstLinearBlock() 322 C2ConstLinearBlock C2LinearBlock::share(size_t offset_, size_t size_, C2Fence fence) { in share() argument 323 return ConstLinearBlockBuddy(mImpl, C2LinearRange(*this, offset_, size_), fence); in share() 846 Mapped(const std::shared_ptr<_C2Block2DImpl> &impl, bool writable, C2Fence *fence __unused) in Mapped() 928 std::shared_ptr<Mapped> map(bool writable, C2Fence *fence) { in map() argument 932 existing = std::shared_ptr<Mapped>(new Mapped(shared_from_this(), writable, fence)); in map() 939 if (fence != nullptr) { in map() 940 *fence = C2Fence(); in map() 1032 std::shared_ptr<Impl> impl, const _C2PlanarSectionAspect §ion, C2Fence fence) in C2ConstGraphicBlock() argument [all …]
|
D | C2AllocatorGralloc.cpp | 278 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, 281 uint8_t **addr /* nonnull */, C2Rect rect, C2Fence *fence /* nullable */) override; 347 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, in map() argument 354 (void) fence; in map() 559 uint8_t **addr, C2Rect rect, C2Fence *fence /* nullable */) { in unmap() argument 568 [&err, &fence](const auto &maperr, const auto &releaseFence) { in unmap() 570 (void) fence; in unmap()
|
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerCommandEngine.h | 192 auto fence = readFence(); in executeSetClientTarget() local 202 err = mHal->setClientTarget(mCurrentDisplay, clientTarget, fence, dataspace, damage); in executeSetClientTarget() 208 close(fence); in executeSetClientTarget() 225 auto fence = readFence(); in executeSetOutputBuffer() local 233 err = mHal->setOutputBuffer(mCurrentDisplay, outputBuffer, fence); in executeSetOutputBuffer() 239 close(fence); in executeSetOutputBuffer() 368 auto fence = readFence(); in executeSetLayerBuffer() local 376 err = mHal->setLayerBuffer(mCurrentDisplay, mCurrentLayer, buffer, fence); in executeSetLayerBuffer() 382 close(fence); in executeSetLayerBuffer()
|
D | ComposerClient.h | 366 for (auto fence : releaseFences) { in destroyResources() 367 if (fence >= 0) { in destroyResources() 368 close(fence); in destroyResources()
|
/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/google/av/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 188 sp<Fence> fence = new Fence(); in fetchFromIgbp_l() local 196 [&status, &slot, &fence]( in fetchFromIgbp_l() 201 if (!android::conversion::convertTo(fence.get(), tFence) && in fetchFromIgbp_l() 220 if (fence) { in fetchFromIgbp_l() 221 android::conversion::wrapAs(&fenceHandle, &nh, *fence); in fetchFromIgbp_l() 223 if (fence) { in fetchFromIgbp_l() 226 status_t status = fence->wait(kFenceWaitTimeMs); in fetchFromIgbp_l() 237 nsecs_t signalTime = fence->getSignalTime(); in fetchFromIgbp_l()
|
/hardware/interfaces/graphics/bufferqueue/2.0/ |
D | types.hal | 80 * An "empty" fence can be an empty handle (containing no fds and no ints) or a 81 * fence with one fd that is equal to -1 and no ints. 83 * A valid fence is an empty fence or a native handle with exactly one fd and no
|
D | IGraphicBufferProducer.hal | 169 * If this is an empty fence, the buffer may be written immediately; 170 * otherwise, the buffer must not be written to until the fence signals. 172 Fence fence; 200 * The returned `output.fence` shall be updated to hold the fence associated 202 * the fence signals. If the fence is an empty fence, the buffer may be 267 * buffer that would be returned from requestBuffer(), and @p fence is 268 * equivalent to the fence that would be returned from dequeueBuffer(). 272 * @return fence Fence associated to @p buffer. 280 Fence fence 349 * empty fence indicates that the buffer is ready immediately. [all …]
|
/hardware/google/av/codec2/include/ |
D | C2Buffer.h | 147 C2Fence fence() const; 231 …C2Acquirable(c2_status_t error, C2Fence fence, T t) : C2Fence(fence), mInitialError(error), mT(t) … in C2Acquirable() argument 779 size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence /* nullable */, 802 virtual c2_status_t unmap(void *addr, size_t size, C2Fence *fence /* nullable */) = 0; 1130 C2Fence fence() const { return mFence; } in fence() function 1163 C2ConstLinearBlock share(size_t offset, size_t size, C2Fence fence); 1230 c2_status_t reserve(size_t size, C2Fence *fence /* nullable */); 1260 c2_status_t share(size_t size, C2Fence fence, std::vector<C2ConstLinearBlock> &blocks); 1315 c2_status_t commit(size_t size, C2Fence fence); 1750 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayRotator.h | 56 void setReleaseFd(const int& fence); 84 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } in setReleaseFd() argument
|
D | overlayRotator.cpp | 89 void RotMem::setReleaseFd(const int& fence) { in setReleaseFd() argument 104 mRelFence[mCurrIndex] = fence; in setReleaseFd()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayRotator.h | 56 void setReleaseFd(const int& fence); 89 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } in setReleaseFd() argument
|
D | overlayRotator.cpp | 90 void RotMem::setReleaseFd(const int& fence) { in setReleaseFd() argument 105 mRelFence[mCurrIndex] = fence; in setReleaseFd()
|
/hardware/interfaces/graphics/bufferqueue/1.0/ |
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 from the dequeueBuffer call. 356 Fence fence 418 * * fence was NULL [all …]
|
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/ |
D | ComposerCommandBuffer.h | 511 void writeFence(int fence) { in writeFence() argument 513 if (fence >= 0) { in writeFence() 516 handle->data[0] = fence; in writeFence() 518 ALOGW("failed to get temporary handle for fence %d", fence); in writeFence() 519 sync_wait(fence, -1); in writeFence() 520 close(fence); in writeFence()
|
/hardware/interfaces/graphics/mapper/3.0/ |
D | IMapper.hal | 211 * sync fence object, which will be signaled when it is safe for the 212 * mapper to lock the buffer. @p acquireFence may be an empty fence if 253 * sync fence object, which will be signaled when it is safe for the 282 * sync fence object. The sync fence object will be signaled when the 284 * empty fence.
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_layers.cpp | 629 void HWCLayer::PushReleaseFence(int32_t fence) { in PushReleaseFence() argument 630 release_fences_.push(fence); in PushReleaseFence() 635 auto fence = release_fences_.front(); in PopReleaseFence() local 637 return fence; in PopReleaseFence()
|