/frameworks/native/libs/ui/ |
D | FenceTime.cpp | 34 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 …]
|
D | Android.bp | 54 "FenceTime.cpp",
|
/frameworks/native/libs/ui/include/ui/ |
D | FenceTime.h | 36 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/ |
D | FrameTimestamps.h | 94 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 …]
|
D | BufferItem.h | 61 std::shared_ptr<FenceTime> mFenceTime{FenceTime::NO_FENCE};
|
D | GLConsumer.h | 198 std::shared_ptr<FenceTime> getCurrentFenceTime() const; 412 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
|
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 90 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 …]
|
D | BufferItem.cpp | 208 mFenceTime = std::make_shared<FenceTime>(mFence); in unflatten()
|
D | GLConsumer.cpp | 329 mCurrentFenceTime = FenceTime::NO_FENCE; in releaseTexImage() 1004 std::shared_ptr<FenceTime> GLConsumer::getCurrentFenceTime() const { in getCurrentFenceTime()
|
D | BufferQueueConsumer.cpp | 211 outBuffer->mFenceTime = FenceTime::NO_FENCE; in acquireBuffer()
|
D | Surface.cpp | 239 const std::shared_ptr<FenceTime>& src, bool fenceShouldBeKnown) { in getFrameTimestampFence() 743 std::make_shared<FenceTime>(std::move(fence))); in queueBuffer()
|
D | BufferQueueProducer.cpp | 774 auto acquireFenceTime = std::make_shared<FenceTime>(acquireFence); in queueBuffer()
|
/frameworks/native/services/surfaceflinger/ |
D | FrameTracker.h | 64 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;
|
D | DispSync.h | 33 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};
|
D | FrameTracker.cpp | 50 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()
|
D | SurfaceFlinger.h | 553 std::shared_ptr<FenceTime>& presentFenceTime); 751 std::shared_ptr<FenceTime> display { FenceTime::NO_FENCE };
|
D | Layer.h | 367 bool onPostComposition(const std::shared_ptr<FenceTime>& glDoneFence, 368 const std::shared_ptr<FenceTime>& presentFence,
|
D | DispSync.cpp | 424 bool DispSync::addPresentFence(const std::shared_ptr<FenceTime>& fenceTime) { in addPresentFence() 640 mPresentFences[i] = FenceTime::NO_FENCE; in resetErrorLocked()
|
D | Layer.cpp | 2069 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>(
|
D | SurfaceFlinger_hwc1.cpp | 1198 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()
|
D | SurfaceFlinger.cpp | 1558 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/ |
D | Surface_test.cpp | 558 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/ |
D | Conversion.h | 1204 ::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/ |
D | H2BGraphicBufferProducer.cpp | 587 ::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()
|