Home | History | Annotate | Download | only in surfaceflinger

Lines Matching refs:vsync

38 // time to wait between VSYNC requests before sending a VSYNC OFF power hint: 40msec.
58 mVSyncEvent[i].vsync.count = 0;
133 // disable reliance on h/w vsync
142 // resume use of h/w vsync
153 mVSyncEvent[0].vsync.count++;
202 // This will return when (1) a vsync event has been received, and (2) there was
219 // we have a vsync event to dispatch
222 vsyncCount = mVSyncEvent[i].vsync.count;
228 // no vsync event, see if there are some other event
244 // we need vsync events because at least
249 // (ie: we received a vsync event)
265 // we don't have a vsync event to process
280 // we received a VSYNC but we have no clients
281 // don't report it, and disable VSYNC events
284 // we have at least one client, so we want vsync enabled
286 // notifying clients of a vsync, so this call will be made
287 // at the vsync rate, e.g. 60fps. If we can accurately
294 // don't populate signalConnections if there's no vsync pending
299 // for vsync events and new client registrations.
301 // If the screen is off, we can't use h/w vsync, so we
306 // use a (long) timeout when waiting for h/w vsync, and
312 ALOGW("Timed out waiting for hw vsync; faking it");
315 // vsync came from ?
319 mVSyncEvent[0].vsync.count++;
322 // Nobody is interested in vsync, so we just want to sleep.
323 // h/w vsync should be disabled, so this will wait until we
325 // interested in receiving vsync again.
339 // never enable h/w VSYNC when screen is off
360 result.appendFormat("VSYNC state: %s\n",
362 result.appendFormat(" soft-vsync: %s\n",
366 mVSyncEvent[DisplayDevice::DISPLAY_PRIMARY].vsync.count);