Lines Matching refs:vsync

56 // Get time offset from a vsync to when the pose for that vsync should be
309 // vsync/DMA for physical displays.
618 "HardwareComposer::GetVSyncTime: Failed to get vsync timestamp: %s",
623 // Waits for the next vsync and returns the timestamp of the vsync event. If
624 // vsync already passed since the last call, returns the latest vsync timestamp
682 "HardwareComposer: Failed to create vsync sleep timerfd: %s",
702 // Check for updated config once per vsync.
743 // Initialize the last vsync timestamp with the current time. The
744 // predictor below uses this time + the vsync interval in absolute time
745 // units for the initial delay. Once the driver starts reporting vsync the
746 // predictor will sync up with the real vsync.
752 TRACE_FORMAT("wait_vsync|vsync=%u;last_timestamp=%" PRId64
760 "HardwareComposer::PostThread: Failed to wait for vsync event: %s",
768 // Predicted vsync timestamp for this interval. This is stable because we
773 // Advance the vsync counter only if the system is keeping up with hardware
774 // vsync to give clients an indication of the delays.
780 // Publish the vsync event.
782 DvrVsync vsync;
783 vsync.vsync_count = vsync_count_;
784 vsync.vsync_timestamp_ns = vsync_timestamp;
785 vsync.vsync_left_eye_offset_ns = photon_offset_ns;
786 vsync.vsync_right_eye_offset_ns = right_eye_photon_offset_ns;
787 vsync.vsync_period_ns = ns_per_frame;
789 vsync_ring_->Publish(vsync);
792 // Signal all of the vsync clients. Because absolute time is used for the
799 // Sleep until shortly before vsync.
833 // If we failed to read vsync there might be a problem with the driver.
835 // updated vsync time and let the prediction continue.
843 // If vsync was delayed advance the prediction interval and allow the
852 // We have an updated vsync timestamp, reset the prediction interval.
983 "HardwareComposer::ComposerCallback::onVsync: Received vsync on "
1000 // See if the driver supports direct vsync events.
1003 // Fall back to returning the last timestamp returned by the vsync
1010 // determine the latest vsync timestamp, even if the HWC callback has been
1023 "vsync event fd: %s",
1028 // Read the vsync event timestamp.