Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2013 nsecs_t idealLatency = (mPhaseOffsets->getCurrentSfOffset() > 0) in setCompositorTimingSnapped() local
2018 if (idealLatency <= 0) { in setCompositorTimingSnapped()
2019 idealLatency = stats.vsyncPeriod; in setCompositorTimingSnapped()
2029 int64_t extraVsyncs = (compositeToPresentLatency - idealLatency + bias) / stats.vsyncPeriod; in setCompositorTimingSnapped()
2031 (extraVsyncs > 0) ? idealLatency + (extraVsyncs * stats.vsyncPeriod) : idealLatency; in setCompositorTimingSnapped()
2034 getBE().mCompositorTiming.deadline = stats.vsyncTime - idealLatency; in setCompositorTimingSnapped()