Searched refs:next_vsync (Results 1 – 1 of 1) sorted by relevance
1303 nsecs_t next_vsync = mNextFakeVSync; in threadLoop() local1304 nsecs_t sleep = next_vsync - now; in threadLoop()1307 sleep = (period - ((now - next_vsync) % period)); in threadLoop()1308 next_vsync = now + sleep; in threadLoop()1310 mNextFakeVSync = next_vsync + period; in threadLoop()1313 spec.tv_sec = next_vsync / 1000000000; in threadLoop()1314 spec.tv_nsec = next_vsync % 1000000000; in threadLoop()1322 mHwc.mEventHandler.onVSyncReceived(&mHwc, 0, next_vsync); in threadLoop()