Searched refs:next_vsync (Results 1 – 1 of 1) sorted by relevance
1273 nsecs_t next_vsync = mNextFakeVSync; in threadLoop() local1274 nsecs_t sleep = next_vsync - now; in threadLoop()1277 sleep = (period - ((now - next_vsync) % period)); in threadLoop()1278 next_vsync = now + sleep; in threadLoop()1280 mNextFakeVSync = next_vsync + period; in threadLoop()1283 spec.tv_sec = next_vsync / 1000000000; in threadLoop()1284 spec.tv_nsec = next_vsync % 1000000000; in threadLoop()1292 mHwc.mEventHandler.onVSyncReceived(0, next_vsync); in threadLoop()