Home | History | Annotate | Download | only in surfaceflinger

Lines Matching full:vsync

37 // time to wait between VSYNC requests before sending a VSYNC OFF power hint: 40msec.
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
234 vsyncCount = mVSyncEvent[i].vsync.count;
240 // no vsync event, see if there are some other event
256 // we need vsync events because at least
261 // (ie: we received a vsync event)
277 // we don't have a vsync event to process
292 // we received a VSYNC but we have no clients
293 // don't report it, and disable VSYNC events
296 // we have at least one client, so we want vsync enabled
298 // notifying clients of a vsync, so this call will be made
299 // at the vsync rate, e.g. 60fps. If we can accurately
306 // don't populate signalConnections if there's no vsync pending
311 // for vsync events and new client registrations.
313 // If the screen is off, we can't use h/w vsync, so we
318 // use a (long) timeout when waiting for h/w vsync, and
324 ALOGW("Timed out waiting for hw vsync; faking it");
327 // vsync came from ?
331 mVSyncEvent[0].vsync.count++;
334 // Nobody is interested in vsync, so we just want to sleep.
335 // h/w vsync should be disabled, so this will wait until we
337 // interested in receiving vsync again.
351 // never enable h/w VSYNC when screen is off
372 result.appendFormat("VSYNC state: %s\n",
374 result.appendFormat(" soft-vsync: %s\n",
378 mVSyncEvent[DisplayDevice::DISPLAY_PRIMARY].vsync.count);