/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/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/ |
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 …]
|
D | Android.bp | 63 "FenceTime.cpp",
|
/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}; 142 uint64_t frameNumber, std::shared_ptr<FenceTime>&& acquire); 149 std::shared_ptr<FenceTime>* dst, 150 const FenceTime::Snapshot& src) const; 153 virtual std::shared_ptr<FenceTime> createFenceTime( 174 std::shared_ptr<FenceTime> acquireFence{FenceTime::NO_FENCE}; 217 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/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 56 const std::shared_ptr<FenceTime>& acquireFence) = 0; 59 const std::shared_ptr<FenceTime>& presentFence) = 0; 68 virtual void setPresentFenceGlobal(const std::shared_ptr<FenceTime>& presentFence) = 0; 86 std::shared_ptr<FenceTime> acquireFence; 87 std::shared_ptr<FenceTime> presentFence; 108 std::deque<std::shared_ptr<FenceTime>> presentFences; 128 const std::shared_ptr<FenceTime>& acquireFence) override; 131 const std::shared_ptr<FenceTime>& presentFence) override; 140 void setPresentFenceGlobal(const std::shared_ptr<FenceTime>& presentFence) override;
|
D | TimeStats.cpp | 351 const std::shared_ptr<FenceTime>& acquireFence) { in setAcquireFence() 393 const std::shared_ptr<FenceTime>& presentFence) { in setPresentFence() 523 void TimeStats::setPresentFenceGlobal(const std::shared_ptr<FenceTime>& presentFence) { in setPresentFenceGlobal()
|
/frameworks/native/libs/gui/ |
D | FrameTimestamps.cpp | 91 const FenceTime& fenceTime) { in dumpFenceTime() 98 } 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 …]
|
/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 | BufferLayer.h | 91 const std::shared_ptr<FenceTime>& glDoneFence, 92 const std::shared_ptr<FenceTime>& presentFence, 120 virtual std::shared_ptr<FenceTime> getCurrentFenceTime() const = 0;
|
D | FrameTracker.cpp | 51 std::shared_ptr<FenceTime>&& readyFence) { in setFrameReadyFence() 63 std::shared_ptr<FenceTime>&& readyFence) { in setActualPresentFence() 156 const std::shared_ptr<FenceTime>& rfence = records[idx].frameReadyFence; in processFencesLocked() 166 const std::shared_ptr<FenceTime>& pfence = in processFencesLocked()
|
D | BufferLayerConsumer.h | 174 std::shared_ptr<FenceTime> getCurrentFenceTime() const; 290 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
|
D | BufferLayer.cpp | 352 const std::shared_ptr<FenceTime>& glDoneFence, in onPostComposition() 353 const std::shared_ptr<FenceTime>& presentFence, in onPostComposition() 373 std::shared_ptr<FenceTime> frameReadyFence = getCurrentFenceTime(); in onPostComposition() 384 mFrameTracker.setActualPresentFence(std::shared_ptr<FenceTime>(presentFence)); in onPostComposition()
|
D | BufferQueueLayer.h | 68 std::shared_ptr<FenceTime> getCurrentFenceTime() const override;
|
D | BufferQueueLayer.cpp | 73 auto releaseFenceTime = std::make_shared<FenceTime>(mConsumer->getPrevFinalReleaseFence()); in releasePendingBuffer() 153 std::shared_ptr<FenceTime> BufferQueueLayer::getCurrentFenceTime() const { in getCurrentFenceTime()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSync.h | 31 class FenceTime; variable 50 virtual bool addPresentFence(const std::shared_ptr<FenceTime>&) = 0; 108 bool addPresentFence(const std::shared_ptr<FenceTime>& fenceTime) override; 245 std::shared_ptr<FenceTime> mPresentFences[NUM_PRESENT_SAMPLES]{FenceTime::NO_FENCE};
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockTimeStats.h | 41 MOCK_METHOD3(setAcquireFence, void(int32_t, uint64_t, const std::shared_ptr<FenceTime>&)); 43 MOCK_METHOD3(setPresentFence, void(int32_t, uint64_t, const std::shared_ptr<FenceTime>&)); 48 MOCK_METHOD1(setPresentFenceGlobal, void(const std::shared_ptr<FenceTime>&));
|
D | MockDispSync.h | 32 MOCK_METHOD1(addPresentFence, bool(const std::shared_ptr<FenceTime>&));
|
/frameworks/base/libs/hwui/surfacetexture/ |
D | SurfaceTexture.h | 222 std::shared_ptr<FenceTime> getCurrentFenceTime() const; 353 std::shared_ptr<FenceTime> mCurrentFenceTime{FenceTime::NO_FENCE};
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 188 mTimeStats->setAcquireFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp() 201 mTimeStats->setPresentFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp() 253 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(1000000))); in TEST_F() 255 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(2000000))); in TEST_F() 259 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(3000000))); in TEST_F() 261 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(5000000))); in TEST_F() 265 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(6000000))); in TEST_F() 267 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(8000000))); in TEST_F() 500 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(1000000))); in TEST_F() 502 mTimeStats->setPresentFenceGlobal(std::make_shared<FenceTime>(2000000))); in TEST_F()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 723 std::shared_ptr<FenceTime>&& acquire) override { in updateAcquireFence() 729 std::shared_ptr<FenceTime>(mAcquireFenceOverride)); in updateAcquireFence() 733 const std::shared_ptr<FenceTime>& acquireFenceOverride, in setAcquireFenceOverride() 734 const std::shared_ptr<FenceTime>& consumerAcquireFence) { in setAcquireFenceOverride() 740 std::shared_ptr<FenceTime> createFenceTime(const sp<Fence>& fence) in createFenceTime() 747 std::shared_ptr<FenceTime> mAcquireFenceOverride{FenceTime::NO_FENCE}; 748 std::shared_ptr<FenceTime> mConsumerAcquireFence{FenceTime::NO_FENCE}; 793 std::shared_ptr<FenceTime> mFenceTime { nullptr }; 971 std::shared_ptr<FenceTime> gpuDoneFenceTime = FenceTime::NO_FENCE; in addFrameEvents() 980 FenceTime::NO_FENCE; in addFrameEvents() [all …]
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | Conversion.cpp | 563 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize() 604 ::android::FenceTime::Snapshot::State::EMPTY); in flatten() 608 ::android::FenceTime::Snapshot::State::FENCE); in flatten() 612 ::android::FenceTime::Snapshot::State::SIGNAL_TIME); in flatten() 642 ::android::FenceTime::Snapshot::State state; in unflatten() 645 case ::android::FenceTime::Snapshot::State::EMPTY: in unflatten() 648 case ::android::FenceTime::Snapshot::State::FENCE: in unflatten() 651 case ::android::FenceTime::Snapshot::State::SIGNAL_TIME: in unflatten()
|
D | H2BGraphicBufferProducer.cpp | 592 ::android::FenceTime::Snapshot::signalTime); in getFlattenedSize() 636 ::android::FenceTime::Snapshot::State::EMPTY); in flatten() 640 ::android::FenceTime::Snapshot::State::FENCE); in flatten() 646 ::android::FenceTime::Snapshot::State::SIGNAL_TIME); in flatten()
|