Home | History | Annotate | Download | only in surfaceflinger

Lines Matching full:vsync

49         mVSyncEvent[i].vsync.count =  0;
99 // disable reliance on h/w vsync
108 // resume use of h/w vsync
119 mVSyncEvent[0].vsync.count++;
168 // This will return when (1) a vsync event has been received, and (2) there was
185 // we have a vsync event to dispatch
188 vsyncCount = mVSyncEvent[i].vsync.count;
194 // no vsync event, see if there are some other event
210 // we need vsync events because at least
215 // (ie: we received a vsync event)
231 // we don't have a vsync event to process
246 // we received a VSYNC but we have no clients
247 // don't report it, and disable VSYNC events
250 // we have at least one client, so we want vsync enabled
252 // notifying clients of a vsync, so this call will be made
253 // at the vsync rate, e.g. 60fps. If we can accurately
260 // don't populate signalConnections if there's no vsync pending
265 // for vsync events and new client registrations.
267 // If the screen is off, we can't use h/w vsync, so we
272 // use a (long) timeout when waiting for h/w vsync, and
278 ALOGW("Timed out waiting for hw vsync; faking it");
281 // vsync came from ?
285 mVSyncEvent[0].vsync.count++;
288 // Nobody is interested in vsync, so we just want to sleep.
289 // h/w vsync should be disabled, so this will wait until we
291 // interested in receiving vsync again.
305 // never enable h/w VSYNC when screen is off
327 result.appendFormat("VSYNC state: %s\n",
329 result.appendFormat(" soft-vsync: %s\n",
333 mVSyncEvent[DisplayDevice::DISPLAY_PRIMARY].vsync.count);