Home
last modified time | relevance | path

Searched refs:nextVSyncTime (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/src/
H A Dvsync_generator.cpp314 int64_t nextVSyncTime = INT64_MAX; in ComputeNextVSyncTimeStamp() local
317 if (t < nextVSyncTime) { in ComputeNextVSyncTimeStamp()
318 nextVSyncTime = t; in ComputeNextVSyncTimeStamp()
322 return nextVSyncTime; in ComputeNextVSyncTimeStamp()
325 bool VSyncGenerator::CheckTimingCorrect(int64_t now, int64_t referenceTime, int64_t nextVSyncTime) in CheckTimingCorrect() argument
330 if ((t - nextVSyncTime < errorThreshold) && (listeners_[i].phase_ == 0)) { in CheckTimingCorrect()
337 bool VSyncGenerator::UpdateChangeDataLocked(int64_t now, int64_t referenceTime, int64_t nextVSyncTime) in UpdateChangeDataLocked() argument
344 nextVSyncTime = expectNextVsyncTime_; in UpdateChangeDataLocked()
346 referenceTime_ = nextVSyncTime; in UpdateChangeDataLocked()
350 if (!CheckTimingCorrect(now, referenceTime, nextVSyncTime)) { in UpdateChangeDataLocked()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/include/
H A Dvsync_generator.h148 bool CheckTimingCorrect(int64_t now, int64_t referenceTime, int64_t nextVSyncTime);
149 bool UpdateChangeDataLocked(int64_t now, int64_t referenceTime, int64_t nextVSyncTime);

Completed in 2 milliseconds