/frameworks/native/libs/ui/ |
D | FenceTime.cpp | 39 mFence(fence), in FenceTime() 47 mFence(std::move(fence)), in FenceTime() 54 mFence(nullptr), in FenceTime() 89 mFence.clear(); in applyTrustedSnapshot() 116 if (!mFence.get()) { in wait() 121 fence = mFence; in wait() 144 if (!mFence.get()) { in getSignalTime() 149 fence = mFence; in getSignalTime() 167 mFence.clear(); in getSignalTime() 193 return Snapshot(mFence); in getSnapshot() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | TexturePool.h | 45 : mTexturePool(texturePool), mTexture(texture), mFence(fence) {} in AutoTexture() 47 ~AutoTexture() { mTexturePool.returnTexture(std::move(mTexture), mFence); } in ~AutoTexture() 49 sp<Fence> getReadyFence() { return mFence; } in getReadyFence() 51 void setReadyFence(const sp<Fence>& fence) { mFence = fence; } in setReadyFence() 63 sp<Fence> mFence; variable
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 100 mSlots[slotIndex].mFence = Fence::NO_FENCE; in freeBufferLocked() 405 mSlots[item->mSlot].mFence = item->mFence; in acquireBufferLocked() 429 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked() 430 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 437 auto currentStatus = mSlots[slot].mFence->getStatus(); in addReleaseFenceLocked() 446 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 456 fenceName, mSlots[slot].mFence, fence); in addReleaseFenceLocked() 461 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 464 mSlots[slot].mFence = mergedFence; in addReleaseFenceLocked() 473 mSlots[slot].mFence = fence; in addReleaseFenceLocked() [all …]
|
D | BufferItem.cpp | 43 mFence(nullptr), in BufferItem() 98 if (mFence != nullptr) { in getFlattenedSize() 99 size += mFence->getFlattenedSize(); in getFlattenedSize() 113 if (mFence != nullptr) { in getFdCount() 114 count += mFence->getFdCount(); in getFdCount() 146 if (mFence != nullptr) { in flatten() 147 status_t err = mFence->flatten(buffer, size, fds, count); in flatten() 211 mFence = new Fence(); in unflatten() 212 status_t err = mFence->unflatten(buffer, size, fds, count); in unflatten() 216 mFenceTime = std::make_shared<FenceTime>(mFence); in unflatten()
|
D | CpuConsumer.cpp | 97 int fenceFd = item.mFence.get() ? item.mFence->dup() : -1; in lockBufferItem() 121 int fenceFd = item.mFence.get() ? item.mFence->dup() : -1; in lockBufferItem()
|
D | BufferQueueProducer.cpp | 501 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer() 515 if (CC_UNLIKELY(mSlots[found].mFence == nullptr)) { in dequeueBuffer() 527 Fence::NO_FENCE : mSlots[found].mFence; in dequeueBuffer() 529 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer() 725 *outFence = mSlots[found].mFence; in detachNextBuffer() 797 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 907 mSlots[slot].mFence = acquireFence; in queueBuffer() 930 item.mFence = acquireFence; in queueBuffer() 1131 mSlots[slot].mFence = fence; in cancelBuffer() 1493 mSlots[*slot].mFence = Fence::NO_FENCE; in allocateBuffers()
|
D | BufferItemConsumer.cpp | 75 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer"); in acquireBuffer()
|
D | BufferQueueConsumer.cpp | 241 outBuffer->mFence = Fence::NO_FENCE; in acquireBuffer() 283 mSlots[slot].mFence = Fence::NO_FENCE; in acquireBuffer() 417 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 478 mSlots[slot].mFence = releaseFence; in releaseBuffer()
|
/frameworks/av/media/libstagefright/ |
D | FrameRenderTracker.cpp | 84 renderInfo->mFence = new Fence(::dup(fenceFd)); in updateInfoForDequeuedBuffer() 122 } else if (it->mFence != NULL) { in checkFencesAndGetRenderedFrames() 124 nsecs_t signalTime = it->mFence->getSignalTime(); in checkFencesAndGetRenderedFrames() 131 it->mFence.clear(); in checkFencesAndGetRenderedFrames() 140 if (drop || (it->mFence == NULL && it == mRenderQueue.begin())) { in checkFencesAndGetRenderedFrames() 178 if (it->mFence == NULL) { in dumpRenderQueue() 185 it->mFence->isValid() ? "YES" : "NO"); in dumpRenderQueue()
|
D | MediaSync.cpp | 353 returnBufferToInput_l(bufferItem->mGraphicBuffer, bufferItem->mFence); in flush() 563 bufferItem->mGraphicBuffer, bufferItem->mFence); in onDrainVideo_l() 648 returnBufferToInput_l(bufferItem.mGraphicBuffer, bufferItem.mFence); in onFrameAvailableFromInput() 667 bufferItem.mFence); in renderOneBufferItem_l() 681 returnBufferToInput_l(bufferItem.mGraphicBuffer, bufferItem.mFence); in renderOneBufferItem_l()
|
D | FrameCaptureLayer.cpp | 95 layerSettings->source.buffer.fence = mBufferItem.mFence; in getLayerSettings() 255 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, bi.mFence); in releaseBuffer()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Fence.cpp | 194 switch (mFence->wait((int)timeoutMs)) { in wait() 205 return mFence->getStatus() != Fence::Status::Invalid; in valid() 209 return mFence->getStatus() == Fence::Status::Signaled; in ready() 213 return mFence->dup(); in fd() 238 mFence(sp<Fence>::make(fenceFd)) {} in SyncFenceImpl() 255 const sp<Fence> mFence; member in _C2FenceFactory::SyncFenceImpl
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | FrameRenderTracker.h | 66 mFence(fence) { in RenderedFrameInfo() 75 mFence(NULL) { in RenderedFrameInfo() 83 sp<Fence> mFence; member
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | ImageConsumer.cpp | 56 if (item.mFence->isValid()) { in dequeueBuffer() 62 *outQueueEmpty = item.mFence->getStatus() == Fence::Status::Unsignaled; in dequeueBuffer() 65 err = fenceWait(item.mFence->get(), fencePassThroughHandle); in dequeueBuffer() 119 st.mCurrentFence = item.mFence; in dequeueBuffer()
|
/frameworks/base/libs/hostgraphics/gui/ |
D | BufferItem.h | 39 BufferItem() : mGraphicBuffer(nullptr), mFence(Fence::NO_FENCE) {} in BufferItem() 44 sp<Fence> mFence; variable
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferSlot.h | 183 mFence(Fence::NO_FENCE), in BufferSlot() 224 sp<Fence> mFence; member
|
D | BufferItem.h | 60 sp<Fence> mFence; variable
|
D | ConsumerBase.h | 234 sp<Fence> mFence; member
|
/frameworks/native/services/surfaceflinger/tests/ |
D | BufferGenerator.cpp | 54 mCallback(item.mGraphicBuffer, item.mFence->dup()); in onFrameAvailable() 367 *outFence = new Fence(mFence); in get() 369 close(mFence); in get() 372 mFence = -1; in get() 386 generator->mFence = fence; in setBuffer()
|
D | BufferGenerator.h | 52 int32_t mFence = -1; variable
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 109 status_t err = pinnedBuffer->getBufferItem().mFence->waitForever( in pinSelectedBuffer() 233 item.mGraphicBuffer, item.mFence); in releaseOldestBufferLocked() 337 item.mGraphicBuffer, item.mFence); in unpinBuffer()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferQueueLayer.cpp | 303 mConsumer->getCurrentBuffer(&mBufferInfo.mBufferSlot, &mBufferInfo.mFence); in updateActiveBuffer() 352 std::make_shared<FenceTime>(item.mFence), in onFrameAvailable() 429 std::make_shared<FenceTime>(item.mFence), in onFrameReplaced() 499 mBufferInfo.mFence = mConsumer->getCurrentFence(); in gatherBufferInfo()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 135 mCurrentFence = item.mFence; in nextBuffer() 137 outFence = item.mFence; in nextBuffer()
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.cpp | 114 err = item.mFence->waitForever("GraphicBufferListener::getBufferItem"); in getBufferItem()
|
/frameworks/native/libs/ui/include/ui/ |
D | FenceTime.h | 141 sp<Fence> mFence{Fence::NO_FENCE};
|