Presentation extension RFCv2, feedback implemented
ppaalanen at gmail.com
Tue Feb 11 05:21:59 PST 2014
I thought I'd share this with you, so you can start experimenting with
the presentation feedback extension. The Weston branch at
implements the presentation feedback part and should be fully usable.
The queueing part is still stubbed out.
The protocol is the same as originally proposed in RFCv2 at
The branch includes a new demo, weston-presentation-shm, which
pre-renders 60 frames, and then just cycles those, measuring the
timings. The animation speed is intentionally tied to the refresh rate.
This explains the print-out:
All timestamps are truncated to milliseconds, because that is what the
frame callback carries.
The new demo seems to claim, that while weston hits every vblank, the
latency from commit to presentation is almost 2 refresh periods. I did
not investigate why.
I guess this branch could already be merged into Weston, except the
exact style of the protocol interfaces is still undecided, and the spec
needs some fixes we have been talking about in the RFCv2 thread.
More information about the wayland-devel