Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h50 nsecs_t vsyncPeriod; member
114 nsecs_t vsyncPeriod = 0; member
141 const nsecs_t vsyncPeriod = configs[configId].vsyncPeriod; in init() local
142 const float fps = 1e9 / vsyncPeriod; in init()
144 vsyncPeriod, configs[configId].hwcId}; in init()
164 return refreshRate1->vsyncPeriod > refreshRate2->vsyncPeriod; in init()
170 if (sortedRefreshRates[0]->vsyncPeriod == 0 || in init()
171 sortedRefreshRates[1]->vsyncPeriod == 0) { in init()
DEventThread.cpp49 auto vsyncPeriod(VSyncRequest request) { in vsyncPeriod() function
60 return StringPrintf("VSyncRequest::Periodic{period=%d}", vsyncPeriod(request)); in toString()
424 return event.vsync.count % vsyncPeriod(connection->vsyncRequest) == 0; in shouldConsumeEvent()
DScheduler.cpp220 stats->vsyncPeriod = mPrimaryDispSync->getPeriod(); in getDisplayStatInfo()
271 mRefreshRateConfigs.getCurrentRefreshRate().second.vsyncPeriod); in resync()
449 resyncToHardwareVsync(true, refreshRate.second.vsyncPeriod); in resetKernelTimerCallback()
/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp52 (long long)stats.vsyncTime, (long long)stats.vsyncPeriod); in updateVsync()
54 mVsyncPeriod = stats.vsyncPeriod; in updateVsync()
/frameworks/base/core/java/com/android/internal/view/
DSurfaceFlingerVsyncChoreographer.java66 long vsyncPeriod = (long) (ONE_S_IN_NS / display.getRefreshRate()); in calculateAppSurfaceFlingerVsyncOffsetMs() local
67 long sfVsyncOffset = vsyncPeriod - (display.getPresentationDeadlineNanos() - ONE_MS_IN_NS); in calculateAppSurfaceFlingerVsyncOffsetMs()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp52 ASSERT_EQ(left.vsyncPeriod, right.vsyncPeriod); in assertRatesEqual()
/frameworks/native/libs/ui/include/ui/
DDisplayStatInfo.h26 nsecs_t vsyncPeriod{0};
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayStatInfo.h26 nsecs_t vsyncPeriod{0};
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1600 const nsecs_t vsyncPeriod = getVsyncPeriod(); in updateVrFlinger() local
1601 mAnimFrameTracker.setDisplayRefreshPeriod(vsyncPeriod); in updateVrFlinger()
1609 DisplayStatInfo stats{0 /* vsyncTime */, vsyncPeriod}; in updateVrFlinger()
1612 mScheduler->resyncToHardwareVsync(false, vsyncPeriod); in updateVrFlinger()
1647 : presentTime + stats.vsyncPeriod; in populateExpectedPresentTime()
2014 ? (stats.vsyncPeriod - (mPhaseOffsets->getCurrentSfOffset() % stats.vsyncPeriod)) in setCompositorTimingSnapped()
2015 : ((-mPhaseOffsets->getCurrentSfOffset()) % stats.vsyncPeriod); in setCompositorTimingSnapped()
2019 idealLatency = stats.vsyncPeriod; in setCompositorTimingSnapped()
2028 nsecs_t bias = stats.vsyncPeriod / 2; in setCompositorTimingSnapped()
2029 int64_t extraVsyncs = (compositeToPresentLatency - idealLatency + bias) / stats.vsyncPeriod; in setCompositorTimingSnapped()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.h153 Builder& setVsyncPeriod(int32_t vsyncPeriod) { in setVsyncPeriod() argument
154 mConfig->mVsyncPeriod = vsyncPeriod; in setVsyncPeriod()
DHWComposer.cpp275 auto vsyncPeriod = getActiveConfig(displayId)->getVsyncPeriod(); in getRefreshTimestamp() local
276 return now - ((now - displayData.lastHwVsync) % vsyncPeriod); in getRefreshTimestamp()
/frameworks/native/libs/gui/
DSurface.cpp167 *outRefreshDuration = stats.vsyncPeriod; in getDisplayRefreshCycleDuration()