Searched refs:vsyncDuration (Results 1 – 2 of 2) sorted by relevance
124 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() argument240 return sfDuration == -1 ? 1'000'000 : vsyncDuration - sfDuration % vsyncDuration; in sfDurationToOffset()[all …]
124 PhaseDurations::Offsets constructOffsets(nsecs_t vsyncDuration) const;