Lines Matching refs:vsync
59 mVSyncEvent[i].vsync.count = 0;
142 // disable reliance on h/w vsync
151 // resume use of h/w vsync
162 mVSyncEvent[0].vsync.count++;
211 // This will return when (1) a vsync event has been received, and (2) there was
228 // we have a vsync event to dispatch
231 vsyncCount = mVSyncEvent[i].vsync.count;
237 // no vsync event, see if there are some other event
253 // we need vsync events because at least
258 // (ie: we received a vsync event)
274 // we don't have a vsync event to process
293 // we have at least one client, so we want vsync enabled
295 // notifying clients of a vsync, so this call will be made
296 // at the vsync rate, e.g. 60fps. If we can accurately
303 // don't populate signalConnections if there's no vsync pending
308 // for vsync events and new client registrations.
310 // If the screen is off, we can't use h/w vsync, so we
315 // use a (long) timeout when waiting for h/w vsync, and
321 ALOGW("Timed out waiting for hw vsync; faking it");
324 // vsync came from ?
328 mVSyncEvent[0].vsync.count++;
331 // Nobody is interested in vsync, so we just want to sleep.
332 // h/w vsync should be disabled, so this will wait until we
334 // interested in receiving vsync again.
371 result.appendFormat(" soft-vsync: %s\n",
375 mVSyncEvent[DisplayDevice::DISPLAY_PRIMARY].vsync.count);