/frameworks/native/libs/ui/include/ui/ |
D | FenceTime.h | 37 class FenceTime { 77 static const std::shared_ptr<FenceTime> NO_FENCE; 79 explicit FenceTime(const sp<Fence>& fence); 80 explicit FenceTime(sp<Fence>&& fence); 84 explicit FenceTime(nsecs_t signalTime); 88 FenceTime() = delete; 93 FenceTime(const FenceTime&) = delete; 94 FenceTime(FenceTime&&) = delete; 95 FenceTime& operator=(const FenceTime&) = delete; 96 FenceTime& operator=(FenceTime&&) = delete; [all …]
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | FenceTime.h | 37 class FenceTime { 77 static const std::shared_ptr<FenceTime> NO_FENCE; 79 explicit FenceTime(const sp<Fence>& fence); 80 explicit FenceTime(sp<Fence>&& fence); 84 explicit FenceTime(nsecs_t signalTime); 88 FenceTime() = delete; 93 FenceTime(const FenceTime&) = delete; 94 FenceTime(FenceTime&&) = delete; 95 FenceTime& operator=(const FenceTime&) = delete; 96 FenceTime& operator=(FenceTime&&) = delete; [all …]
|
/frameworks/native/libs/ui/ |
D | FenceTime.cpp | 34 const auto FenceTime::NO_FENCE = std::make_shared<FenceTime>(Fence::NO_FENCE); 36 FenceTime::FenceTime(const sp<Fence>& fence) in FenceTime() function in android::FenceTime 44 FenceTime::FenceTime(sp<Fence>&& fence) in FenceTime() function in android::FenceTime 52 FenceTime::FenceTime(nsecs_t signalTime) in FenceTime() function in android::FenceTime 62 void FenceTime::applyTrustedSnapshot(const Snapshot& src) { in applyTrustedSnapshot() 93 bool FenceTime::isValid() const { in isValid() 100 nsecs_t FenceTime::getSignalTime() { in getSignalTime() 146 nsecs_t FenceTime::getCachedSignalTime() const { in getCachedSignalTime() 152 FenceTime::Snapshot FenceTime::getSnapshot() const { in getSnapshot() 170 FenceTime::FenceTime(const sp<Fence>& fence, bool forceValidForTest) in FenceTime() function in android::FenceTime [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | FrameTimestamps.h | 93 std::shared_ptr<FenceTime> acquireFence{FenceTime::NO_FENCE}; 94 std::shared_ptr<FenceTime> gpuCompositionDoneFence{FenceTime::NO_FENCE}; 95 std::shared_ptr<FenceTime> displayPresentFence{FenceTime::NO_FENCE}; 96 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}; 219 const std::shared_ptr<FenceTime>& gpuCompositionDone, [all …]
|
D | BufferItem.h | 63 std::shared_ptr<FenceTime> mFenceTime{FenceTime::NO_FENCE};
|
D | GLConsumer.h | 203 std::shared_ptr<FenceTime> getCurrentFenceTime() const; 401 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
|
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 92 const FenceTime& fenceTime) { in dumpFenceTime() 99 } else if (&fenceTime == FenceTime::NO_FENCE.get()){ in dumpFenceTime() 255 uint64_t frameNumber, std::shared_ptr<FenceTime>&& acquire) { in updateAcquireFence() 268 frame->acquireFence = std::make_shared<FenceTime>(frame->postedTime); in updateAcquireFence() 298 frame.acquireFence = FenceTime::NO_FENCE; in applyDelta() 299 frame.gpuCompositionDoneFence = FenceTime::NO_FENCE; in applyDelta() 300 frame.displayPresentFence = FenceTime::NO_FENCE; in applyDelta() 301 frame.releaseFence = FenceTime::NO_FENCE; in applyDelta() 323 std::shared_ptr<FenceTime>* dst, const FenceTime::Snapshot& src) const { in applyFenceDelta() 330 case FenceTime::Snapshot::State::EMPTY: in applyFenceDelta() [all …]
|
D | BLASTBufferQueue.cpp | 75 std::shared_ptr<FenceTime> glDoneFenceTime = std::make_shared<FenceTime>(glDoneFence); in updateFrameTimestamps() 76 std::shared_ptr<FenceTime> presentFenceTime = std::make_shared<FenceTime>(presentFence); in updateFrameTimestamps() 77 std::shared_ptr<FenceTime> releaseFenceTime = std::make_shared<FenceTime>(prevReleaseFence); in updateFrameTimestamps()
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 85 const std::shared_ptr<FenceTime>& readyFence) = 0; 105 const std::shared_ptr<FenceTime>& acquireFence) = 0; 110 const std::shared_ptr<FenceTime>& presentFence) = 0; 120 virtual void setPresentFenceGlobal(const std::shared_ptr<FenceTime>& presentFence) = 0; 140 std::shared_ptr<FenceTime> acquireFence; 141 std::shared_ptr<FenceTime> presentFence; 164 std::variant<nsecs_t, std::shared_ptr<FenceTime>> endTime; 169 std::deque<std::shared_ptr<FenceTime>> presentFences; 242 const std::shared_ptr<FenceTime>& readyFence) override; 252 const std::shared_ptr<FenceTime>& acquireFence) override; [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | FrameTracker.h | 61 void setFrameReadyFence(std::shared_ptr<FenceTime>&& readyFence); 69 void setActualPresentFence(std::shared_ptr<FenceTime>&& fence); 101 std::shared_ptr<FenceTime> frameReadyFence; 102 std::shared_ptr<FenceTime> actualPresentFence;
|
D | FrameTracker.cpp | 54 std::shared_ptr<FenceTime>&& readyFence) { in setFrameReadyFence() 66 std::shared_ptr<FenceTime>&& readyFence) { in setActualPresentFence() 159 const std::shared_ptr<FenceTime>& rfence = records[idx].frameReadyFence; in processFencesLocked() 169 const std::shared_ptr<FenceTime>& pfence = in processFencesLocked()
|
D | BufferLayer.h | 82 bool onPostComposition(const DisplayDevice*, const std::shared_ptr<FenceTime>& glDoneFence, 83 const std::shared_ptr<FenceTime>& presentFence, 159 std::shared_ptr<FenceTime> mFenceTime;
|
D | BufferLayerConsumer.h | 177 std::shared_ptr<FenceTime> getCurrentFenceTime() const; 287 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
|
D | TransactionCompletedThread.h | 48 std::shared_ptr<FenceTime> gpuCompositionDoneFence{FenceTime::NO_FENCE};
|
D | BufferStateLayer.cpp | 116 std::shared_ptr<FenceTime> releaseFenceTime = std::make_shared<FenceTime>(releaseFence); in releasePendingBuffer() 126 void BufferStateLayer::finalizeFrameEventHistory(const std::shared_ptr<FenceTime>& glDoneFence, in finalizeFrameEventHistory() 250 std::shared_ptr<FenceTime> acquireFenceTime = in addFrameEvent() 251 std::make_shared<FenceTime>((acquireFence ? acquireFence : Fence::NO_FENCE)); in addFrameEvent() 581 std::make_shared<FenceTime>(mDrawingState.acquireFence)); in updateTexImage() 692 mBufferInfo.mFenceTime = std::make_shared<FenceTime>(s.acquireFence); in gatherBufferInfo()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockTimeStats.h | 44 MOCK_METHOD2(recordRenderEngineDuration, void(nsecs_t, const std::shared_ptr<FenceTime>&)); 51 MOCK_METHOD3(setAcquireFence, void(int32_t, uint64_t, const std::shared_ptr<FenceTime>&)); 53 MOCK_METHOD3(setPresentFence, void(int32_t, uint64_t, const std::shared_ptr<FenceTime>&)); 59 MOCK_METHOD1(setPresentFenceGlobal, void(const std::shared_ptr<FenceTime>&));
|
D | MockFrameTracer.h | 37 void(int32_t, uint64_t, uint64_t, const std::shared_ptr<FenceTime>&,
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSync.h | 31 class FenceTime; variable 50 virtual bool addPresentFence(const std::shared_ptr<FenceTime>&) = 0; 107 bool addPresentFence(const std::shared_ptr<FenceTime>& fenceTime) override; 246 std::shared_ptr<FenceTime> mPresentFences[NUM_PRESENT_SAMPLES]{FenceTime::NO_FENCE};
|
D | VSyncReactor.h | 43 bool addPresentFence(const std::shared_ptr<FenceTime>& fence) final; 82 std::vector<std::shared_ptr<FenceTime>> mUnfiredFences GUARDED_BY(mMutex);
|
/frameworks/native/libs/nativedisplay/include/surfacetexture/ |
D | SurfaceTexture.h | 235 std::shared_ptr<FenceTime> getCurrentFenceTime() const; 370 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 237 mTimeStats->setAcquireFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp() 250 mTimeStats->setPresentFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp() 417 std::make_shared<FenceTime>( in TEST_F() 429 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>( in TEST_F() 440 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(1000000))); in TEST_F() 442 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(2000000))); in TEST_F() 446 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(3000000))); in TEST_F() 448 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(5000000))); in TEST_F() 452 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(6000000))); in TEST_F() 454 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(8000000))); in TEST_F() [all …]
|
D | VSyncReactorTest.cpp | 114 std::shared_ptr<FenceTime> generateInvalidFence() { in generateInvalidFence() 116 return std::make_shared<FenceTime>(fence); in generateInvalidFence() 119 std::shared_ptr<FenceTime> generatePendingFence() { in generatePendingFence() 121 return std::make_shared<FenceTime>(fence); in generatePendingFence() 124 void signalFenceWithTime(std::shared_ptr<FenceTime> const& fence, nsecs_t time) { in signalFenceWithTime() 125 FenceTime::Snapshot snap(time); in signalFenceWithTime() 129 std::shared_ptr<FenceTime> generateSignalledFenceWithTime(nsecs_t time) { in generateSignalledFenceWithTime() 131 std::shared_ptr<FenceTime> ft = std::make_shared<FenceTime>(fence); in generateSignalledFenceWithTime() 216 std::array<std::shared_ptr<FenceTime>, kPendingLimit * 2> fences; in TEST_F()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 882 std::shared_ptr<FenceTime>&& acquire) override { in updateAcquireFence() 888 std::shared_ptr<FenceTime>(mAcquireFenceOverride)); in updateAcquireFence() 892 const std::shared_ptr<FenceTime>& acquireFenceOverride, in setAcquireFenceOverride() 893 const std::shared_ptr<FenceTime>& consumerAcquireFence) { in setAcquireFenceOverride() 899 std::shared_ptr<FenceTime> createFenceTime(const sp<Fence>& fence) in createFenceTime() 906 std::shared_ptr<FenceTime> mAcquireFenceOverride{FenceTime::NO_FENCE}; 907 std::shared_ptr<FenceTime> mConsumerAcquireFence{FenceTime::NO_FENCE}; 952 std::shared_ptr<FenceTime> mFenceTime { nullptr }; 1130 std::shared_ptr<FenceTime> gpuDoneFenceTime = FenceTime::NO_FENCE; in addFrameEvents() 1139 FenceTime::NO_FENCE; in addFrameEvents() [all …]
|
/frameworks/native/services/surfaceflinger/FrameTracer/ |
D | FrameTracer.h | 60 const std::shared_ptr<FenceTime>& fence, FrameEvent::BufferEventType type,
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | Conversion.cpp | 549 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize() 590 ::android::FenceTime::Snapshot::State::EMPTY); in flatten() 594 ::android::FenceTime::Snapshot::State::FENCE); in flatten() 598 ::android::FenceTime::Snapshot::State::SIGNAL_TIME); in flatten() 628 ::android::FenceTime::Snapshot::State state; in unflatten() 631 case ::android::FenceTime::Snapshot::State::EMPTY: in unflatten() 634 case ::android::FenceTime::Snapshot::State::FENCE: in unflatten() 637 case ::android::FenceTime::Snapshot::State::SIGNAL_TIME: in unflatten()
|