Home
last modified time | relevance | path

Searched refs:presentTime (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp132 timeRecord->frameTime.presentTime = timeRecord->presentFence->getSignalTime(); in recordReadyLocked()
174 timeRecords[0].frameTime.frameNumber, timeRecords[0].frameTime.presentTime); in flushAvailableRecordsToStatsLocked()
194 timeRecords[0].frameTime.presentTime); in flushAvailableRecordsToStatsLocked()
200 timeRecords[0].frameTime.presentTime); in flushAvailableRecordsToStatsLocked()
206 timeRecords[0].frameTime.presentTime); in flushAvailableRecordsToStatsLocked()
212 timeRecords[0].frameTime.presentTime); in flushAvailableRecordsToStatsLocked()
217 const int32_t presentToPresentMs = msBetween(prevTimeRecord.frameTime.presentTime, in flushAvailableRecordsToStatsLocked()
218 timeRecords[0].frameTime.presentTime); in flushAvailableRecordsToStatsLocked()
233 timeRecords[0].frameTime.presentTime); in flushAvailableRecordsToStatsLocked()
370 void TimeStats::setPresentTime(int32_t layerID, uint64_t frameNumber, nsecs_t presentTime) { in setPresentTime() argument
[all …]
DTimeStats.h57 virtual void setPresentTime(int32_t layerID, uint64_t frameNumber, nsecs_t presentTime) = 0;
80 nsecs_t presentTime = 0; member
129 void setPresentTime(int32_t layerID, uint64_t frameNumber, nsecs_t presentTime) override;
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp835 nsecs_t presentTime = mPresentFences[idx]->getSignalTime(); in dump() local
836 if (presentTime == Fence::SIGNAL_TIME_PENDING) { in dump()
838 } else if (presentTime == Fence::SIGNAL_TIME_INVALID) { in dump()
842 StringAppendF(&result, " %" PRId64 " (%.3f ms ago)\n", presentTime, in dump()
843 (now - presentTime) / 1000000.0); in dump()
846 presentTime, presentTime - previous, in dump()
847 (presentTime - previous) / (double)mPeriod, in dump()
848 (now - presentTime) / 1000000.0); in dump()
850 previous = presentTime; in dump()
DLayerInfo.h79 void insertPresentTime(nsecs_t presentTime) { in insertPresentTime() argument
80 mElements.push_back(presentTime); in insertPresentTime()
DLayerHistory.cpp72 void LayerHistory::insert(const std::unique_ptr<LayerHandle>& layerHandle, nsecs_t presentTime, in insert() argument
93 layerInfo->setLastPresentTime(presentTime); in insert()
DLayerHistory.h60 void insert(const std::unique_ptr<LayerHandle>& layerHandle, nsecs_t presentTime, bool isHdr);
DScheduler.cpp347 nsecs_t presentTime, bool isHDR) { in addLayerPresentTimeAndHDR() argument
348 mLayerHistory.insert(layerHandle, presentTime, isHDR); in addLayerPresentTimeAndHDR()
DScheduler.h148 nsecs_t presentTime, bool isHDR);
/frameworks/native/services/surfaceflinger/
DFrameTracker.cpp40 void FrameTracker::setDesiredPresentTime(nsecs_t presentTime) { in setDesiredPresentTime() argument
42 mFrameRecords[mOffset].desiredPresentTime = presentTime; in setDesiredPresentTime()
57 void FrameTracker::setActualPresentTime(nsecs_t presentTime) { in setActualPresentTime() argument
59 mFrameRecords[mOffset].actualPresentTime = presentTime; in setActualPresentTime()
DBufferQueueLayer.cpp444 const nsecs_t presentTime = item.mIsAutoTimestamp ? 0 : item.mTimestamp; in onFrameAvailable() local
445 mFlinger->mScheduler->addLayerPresentTimeAndHDR(mSchedulerLayerHandle, presentTime, in onFrameAvailable()
DBufferStateLayer.cpp233 const nsecs_t presentTime = (mDesiredPresentTime == -1) ? 0 : mDesiredPresentTime; in setBuffer() local
234 mFlinger->mScheduler->addLayerPresentTimeAndHDR(mSchedulerLayerHandle, presentTime, in setBuffer()
DSurfaceFlinger.cpp1642 const nsecs_t presentTime = mScheduler->getDispSyncExpectedPresentTime(); in populateExpectedPresentTime() local
1646 ? presentTime in populateExpectedPresentTime()
1647 : presentTime + stats.vsyncPeriod; in populateExpectedPresentTime()
2126 const nsecs_t presentTime = in postComposition() local
2128 mAnimFrameTracker.setActualPresentTime(presentTime); in postComposition()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp417 int64_t presentTime = NATIVE_WINDOW_TIMESTAMP_AUTO; in setPresentTime() local
427 presentTime = mCurrentFrameInfo->get(FrameInfoIndex::Vsync) + in setPresentTime()
430 native_window_set_buffers_timestamp(mNativeSurface.get(), presentTime); in setPresentTime()