Home
last modified time | relevance | path

Searched refs:mLastPresentTimeNs (Results 1 – 6 of 6) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libvrr/RefreshRateCalculator/
DInstantRefreshRateCalculator.cpp45 if (mLastPresentTimeNs != kDefaultInvalidPresentTimeNs) { in onPresentInternal()
46 if (presentTimeNs <= mLastPresentTimeNs) { in onPresentInternal()
53 auto numVsync = durationToVsync((presentTimeNs - mLastPresentTimeNs)); in onPresentInternal()
60 mLastPresentTimeNs = presentTimeNs; in onPresentInternal()
68 mLastPresentTimeNs = kDefaultInvalidPresentTimeNs; in reset()
82 return (mLastPresentTimeNs == kDefaultInvalidPresentTimeNs) || in isOutdated()
83 ((timeNs - mLastPresentTimeNs) > mMaxValidTimeNs); in isOutdated()
DExitIdleRefreshRateCalculator.cpp57 if ((mLastPresentTimeNs == kDefaultInvalidPresentTimeNs) || in onPresentInternal()
58 (presentTimeNs > mLastPresentTimeNs + mParams.mIdleCriteriaTimeNs)) { in onPresentInternal()
64 mLastPresentTimeNs = presentTimeNs; in onPresentInternal()
68 mLastPresentTimeNs = kDefaultInvalidPresentTimeNs; in reset()
DPeriodRefreshRateCalculator.cpp60 if (mLastPresentTimeNs >= 0) { in onPresentInternal()
61 auto periodNs = presentTimeNs - mLastPresentTimeNs; in onPresentInternal()
68 mLastPresentTimeNs = presentTimeNs; in onPresentInternal()
74 mLastPresentTimeNs = kDefaultInvalidPresentTimeNs; in reset()
DInstantRefreshRateCalculator.h57 int64_t mLastPresentTimeNs = kDefaultInvalidPresentTimeNs; variable
DExitIdleRefreshRateCalculator.h61 int64_t mLastPresentTimeNs = kDefaultInvalidPresentTimeNs; variable
DPeriodRefreshRateCalculator.h72 int64_t mLastPresentTimeNs = kDefaultInvalidPresentTimeNs; variable