Home
last modified time | relevance | path

Searched refs:vsyncDuration (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DPhaseOffsets.cpp124 PhaseOffsets::Offsets PhaseOffsets::getDefaultOffsets(nsecs_t vsyncDuration) const { in getDefaultOffsets()
129 : mEarlySfOffsetNs.value_or(mSfVSyncPhaseOffsetNs) - vsyncDuration, in getDefaultOffsets()
136 : mEarlyGlSfOffsetNs.value_or(mSfVSyncPhaseOffsetNs) - vsyncDuration, in getDefaultOffsets()
143 : mSfVSyncPhaseOffsetNs - vsyncDuration, in getDefaultOffsets()
150 PhaseOffsets::Offsets PhaseOffsets::getHighFpsOffsets(nsecs_t vsyncDuration) const { in getHighFpsOffsets()
167 vsyncDuration, in getHighFpsOffsets()
176 vsyncDuration, in getHighFpsOffsets()
183 : highFpsLateSfOffsetNs - vsyncDuration, in getHighFpsOffsets()
239 static nsecs_t sfDurationToOffset(nsecs_t sfDuration, nsecs_t vsyncDuration) { in sfDurationToOffset() argument
240 return sfDuration == -1 ? 1'000'000 : vsyncDuration - sfDuration % vsyncDuration; in sfDurationToOffset()
[all …]
DPhaseOffsets.h124 PhaseDurations::Offsets constructOffsets(nsecs_t vsyncDuration) const;