HomeSort by relevance Sort by last modified time
    Searched defs:next_vsync (Results 1 - 2 of 2) sorted by null

  /hardware/intel/img/hwcomposer/merrifield/common/observers/
SoftVsyncObserver.cpp 127 nsecs_t next_vsync = mNextFakeVSync; local
128 nsecs_t sleep = next_vsync - now;
131 sleep = (period - ((now - next_vsync) % period));
132 next_vsync = now + sleep;
134 mNextFakeVSync = next_vsync + period;
137 spec.tv_sec = next_vsync / 1000000000;
138 spec.tv_nsec = next_vsync % 1000000000;
147 mDisplayDevice.onVsync(next_vsync);
  /hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
SoftVsyncObserver.cpp 123 nsecs_t next_vsync = mNextFakeVSync; local
124 nsecs_t sleep = next_vsync - now;
127 sleep = (period - ((now - next_vsync) % period));
128 next_vsync = now + sleep;
130 mNextFakeVSync = next_vsync + period;
133 spec.tv_sec = next_vsync / 1000000000;
134 spec.tv_nsec = next_vsync % 1000000000;
143 mDisplayDevice.onVsync(next_vsync);

Completed in 180 milliseconds