Home
last modified time | relevance | path

Searched refs:vsyncPeriod (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish-opengl/system/hwc3/
DVsyncThread.cpp35 TimePoint GetNextVsyncInPhase(Nanoseconds vsyncPeriod, TimePoint previousVsync, TimePoint now) { in GetNextVsyncInPhase() argument
37 const auto nextMultiple = (elapsed / vsyncPeriod) + 1; in GetNextVsyncInPhase()
38 return previousVsync + (nextMultiple * vsyncPeriod); in GetNextVsyncInPhase()
137 Nanoseconds vsyncPeriod = mVsyncPeriod; in threadLoop() local
144 TimePoint nextVsync = GetNextVsyncInPhase(vsyncPeriod, mPreviousVsync, now); in threadLoop()
154 vsyncPeriod = updateVsyncPeriodLocked(mPreviousVsync); in threadLoop()
161 static_cast<int32_t>(asNanosDuration(vsyncPeriod))); in threadLoop()
DDisplayFinder.cpp36 uint64_t vsyncPeriod; in getVsyncHzFromProperty() local
37 if (!::android::base::ParseUint(vsyncProp, &vsyncPeriod)) { in getVsyncHzFromProperty()
43 return static_cast<uint32_t>(vsyncPeriod); in getVsyncHzFromProperty()
DDisplay.cpp281 displayConfiguration.vsyncPeriod = displayConfig.getVsyncPeriod(); in getDisplayConfigurations()
511 int32_t vsyncPeriod; in setActiveConfigWithConstraints() local
512 error = getDisplayVsyncPeriod(&vsyncPeriod); in setActiveConfigWithConstraints()
518 return mVsyncThread.scheduleVsyncUpdate(vsyncPeriod, constraints, outTimeline); in setActiveConfigWithConstraints()
DComposerClient.h68 ndk::ScopedAStatus getDisplayVsyncPeriod(int64_t displayId, int32_t* vsyncPeriod) override;