Home
last modified time | relevance | path

Searched refs:FenceTime (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/libs/ui/
DFenceTime.cpp34 const auto FenceTime::NO_FENCE = std::make_shared<FenceTime>(Fence::NO_FENCE);
36 void* FenceTime::operator new(size_t byteCount) noexcept { in operator new()
38 if (posix_memalign(&p, alignof(FenceTime), byteCount)) { in operator new()
44 void FenceTime::operator delete(void *p) { in operator delete()
48 FenceTime::FenceTime(const sp<Fence>& fence) in FenceTime() function in android::FenceTime
56 FenceTime::FenceTime(sp<Fence>&& fence) in FenceTime() function in android::FenceTime
64 FenceTime::FenceTime(nsecs_t signalTime) in FenceTime() function in android::FenceTime
74 void FenceTime::applyTrustedSnapshot(const Snapshot& src) { in applyTrustedSnapshot()
105 bool FenceTime::isValid() const { in isValid()
112 nsecs_t FenceTime::getSignalTime() { in getSignalTime()
[all …]
DAndroid.bp54 "FenceTime.cpp",
/frameworks/native/libs/ui/include/ui/
DFenceTime.h36 class FenceTime {
76 static const std::shared_ptr<FenceTime> NO_FENCE;
78 explicit FenceTime(const sp<Fence>& fence);
79 explicit FenceTime(sp<Fence>&& fence);
83 explicit FenceTime(nsecs_t signalTime);
87 FenceTime() = delete;
92 FenceTime(const FenceTime&) = delete;
93 FenceTime(FenceTime&&) = delete;
94 FenceTime& operator=(const FenceTime&) = delete;
95 FenceTime& operator=(FenceTime&&) = delete;
[all …]
/frameworks/native/libs/gui/include/gui/
DFrameTimestamps.h94 std::shared_ptr<FenceTime> acquireFence{FenceTime::NO_FENCE};
95 std::shared_ptr<FenceTime> gpuCompositionDoneFence{FenceTime::NO_FENCE};
96 std::shared_ptr<FenceTime> displayPresentFence{FenceTime::NO_FENCE};
97 std::shared_ptr<FenceTime> releaseFence{FenceTime::NO_FENCE};
143 uint64_t frameNumber, std::shared_ptr<FenceTime>&& acquire);
150 std::shared_ptr<FenceTime>* dst,
151 const FenceTime::Snapshot& src) const;
154 virtual std::shared_ptr<FenceTime> createFenceTime(
175 std::shared_ptr<FenceTime> acquireFence{FenceTime::NO_FENCE};
218 const std::shared_ptr<FenceTime>& gpuCompositionDone,
[all …]
DBufferItem.h61 std::shared_ptr<FenceTime> mFenceTime{FenceTime::NO_FENCE};
DGLConsumer.h198 std::shared_ptr<FenceTime> getCurrentFenceTime() const;
412 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
/frameworks/native/libs/gui/
DFrameTimestamps.cpp90 bool pending, const FenceTime& fenceTime) { in dumpFenceTime()
97 } else if (&fenceTime == FenceTime::NO_FENCE.get()){ in dumpFenceTime()
249 uint64_t frameNumber, std::shared_ptr<FenceTime>&& acquire) { in updateAcquireFence()
262 frame->acquireFence = std::make_shared<FenceTime>(frame->postedTime); in updateAcquireFence()
292 frame.acquireFence = FenceTime::NO_FENCE; in applyDelta()
293 frame.gpuCompositionDoneFence = FenceTime::NO_FENCE; in applyDelta()
294 frame.displayPresentFence = FenceTime::NO_FENCE; in applyDelta()
295 frame.releaseFence = FenceTime::NO_FENCE; in applyDelta()
317 std::shared_ptr<FenceTime>* dst, const FenceTime::Snapshot& src) const { in applyFenceDelta()
324 case FenceTime::Snapshot::State::EMPTY: in applyFenceDelta()
[all …]
DBufferItem.cpp208 mFenceTime = std::make_shared<FenceTime>(mFence); in unflatten()
DGLConsumer.cpp329 mCurrentFenceTime = FenceTime::NO_FENCE; in releaseTexImage()
1004 std::shared_ptr<FenceTime> GLConsumer::getCurrentFenceTime() const { in getCurrentFenceTime()
DBufferQueueConsumer.cpp211 outBuffer->mFenceTime = FenceTime::NO_FENCE; in acquireBuffer()
DSurface.cpp239 const std::shared_ptr<FenceTime>& src, bool fenceShouldBeKnown) { in getFrameTimestampFence()
743 std::make_shared<FenceTime>(std::move(fence))); in queueBuffer()
DBufferQueueProducer.cpp774 auto acquireFenceTime = std::make_shared<FenceTime>(acquireFence); in queueBuffer()
/frameworks/native/services/surfaceflinger/
DFrameTracker.h64 void setFrameReadyFence(std::shared_ptr<FenceTime>&& readyFence);
72 void setActualPresentFence(std::shared_ptr<FenceTime>&& fence);
104 std::shared_ptr<FenceTime> frameReadyFence;
105 std::shared_ptr<FenceTime> actualPresentFence;
DDispSync.h33 class FenceTime; variable
76 bool addPresentFence(const std::shared_ptr<FenceTime>& fenceTime);
177 std::shared_ptr<FenceTime>
178 mPresentFences[NUM_PRESENT_SAMPLES] {FenceTime::NO_FENCE};
DFrameTracker.cpp50 std::shared_ptr<FenceTime>&& readyFence) { in setFrameReadyFence()
62 std::shared_ptr<FenceTime>&& readyFence) { in setActualPresentFence()
155 const std::shared_ptr<FenceTime>& rfence = records[idx].frameReadyFence; in processFencesLocked()
165 const std::shared_ptr<FenceTime>& pfence = in processFencesLocked()
DSurfaceFlinger.h553 std::shared_ptr<FenceTime>& presentFenceTime);
751 std::shared_ptr<FenceTime> display { FenceTime::NO_FENCE };
DLayer.h367 bool onPostComposition(const std::shared_ptr<FenceTime>& glDoneFence,
368 const std::shared_ptr<FenceTime>& presentFence,
DDispSync.cpp424 bool DispSync::addPresentFence(const std::shared_ptr<FenceTime>& fenceTime) { in addPresentFence()
640 mPresentFences[i] = FenceTime::NO_FENCE; in resetErrorLocked()
DLayer.cpp2069 bool Layer::onPostComposition(const std::shared_ptr<FenceTime>& glDoneFence,
2070 const std::shared_ptr<FenceTime>& presentFence,
2088 std::shared_ptr<FenceTime> frameReadyFence =
2100 std::shared_ptr<FenceTime>(presentFence));
2120 auto releaseFenceTime = std::make_shared<FenceTime>(
2311 auto releaseFenceTime = std::make_shared<FenceTime>(
DSurfaceFlinger_hwc1.cpp1198 std::shared_ptr<FenceTime>& presentFenceTime) { in updateCompositorTiming()
1261 std::shared_ptr<FenceTime> glCompositionDoneFenceTime; in postComposition()
1264 std::make_shared<FenceTime>(hw->getClientTargetAcquireFence()); in postComposition()
1267 glCompositionDoneFenceTime = FenceTime::NO_FENCE; in postComposition()
1272 auto retireFenceTime = std::make_shared<FenceTime>(retireFence); in postComposition()
DSurfaceFlinger.cpp1558 std::shared_ptr<FenceTime>& presentFenceTime) { in updateCompositorTiming()
1630 std::shared_ptr<FenceTime> glCompositionDoneFenceTime; in postComposition()
1633 std::make_shared<FenceTime>(hw->getClientTargetAcquireFence()); in postComposition()
1636 glCompositionDoneFenceTime = FenceTime::NO_FENCE; in postComposition()
1641 auto presentFenceTime = std::make_shared<FenceTime>(presentFence); in postComposition()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp558 std::shared_ptr<FenceTime>&& acquire) override { in updateAcquireFence()
564 std::shared_ptr<FenceTime>(mAcquireFenceOverride)); in updateAcquireFence()
568 const std::shared_ptr<FenceTime>& acquireFenceOverride, in setAcquireFenceOverride()
569 const std::shared_ptr<FenceTime>& consumerAcquireFence) { in setAcquireFenceOverride()
575 std::shared_ptr<FenceTime> createFenceTime(const sp<Fence>& fence) in createFenceTime()
582 std::shared_ptr<FenceTime> mAcquireFenceOverride{FenceTime::NO_FENCE};
583 std::shared_ptr<FenceTime> mConsumerAcquireFence{FenceTime::NO_FENCE};
628 std::shared_ptr<FenceTime> mFenceTime { nullptr };
806 std::shared_ptr<FenceTime> gpuDoneFenceTime = FenceTime::NO_FENCE; in addFrameEvents()
815 FenceTime::NO_FENCE; in addFrameEvents()
[all …]
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h1204 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize()
1245 ::android::FenceTime::Snapshot::State::EMPTY); in flatten()
1249 ::android::FenceTime::Snapshot::State::FENCE); in flatten()
1253 ::android::FenceTime::Snapshot::State::SIGNAL_TIME); in flatten()
1283 ::android::FenceTime::Snapshot::State state; in unflatten()
1286 case ::android::FenceTime::Snapshot::State::EMPTY: in unflatten()
1289 case ::android::FenceTime::Snapshot::State::FENCE: in unflatten()
1292 case ::android::FenceTime::Snapshot::State::SIGNAL_TIME: in unflatten()
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp587 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize()
631 ::android::FenceTime::Snapshot::State::EMPTY); in flatten()
635 ::android::FenceTime::Snapshot::State::FENCE); in flatten()
641 ::android::FenceTime::Snapshot::State::SIGNAL_TIME); in flatten()