On Tue, 23 Sep 2014 22:08:49 -0400 Louis-Francis Ratté-Boulianne <l...@collabora.com> wrote:
> From: Pekka Paalanen <pekka.paala...@collabora.co.uk> > > This started as a copy of simple-shm.c before it was converted to > xdg_shell. > > This demo excercises the presentation feedback interface in five > different modes: > > - A continuous repaint loop triggered by frame callbacks, and using > immediate commits, just gathering presentation feedback and computing > some time intervals for statistics. > > - The same as above, except with 1s sleep before actually repainting as > a response to frame callback. This tests how well the compositor can > do a repaint from idle state (not continuously repainting), assuming > nothing else is causing repaints. > > - A continuous repaint loop triggered by 'presented' events rather than > by frame callbacks. If Weston uses an appropriate scheduling > algorithm, this mode achieves the smallest possible frame latency > (below one output refresh period). > > In all modes, all frames are pre-rendered at startup, so no rendering > happens during the animation. > > [Louis-Francis Ratté-Boulianne: split queuing feature] > > Signed-off-by: Pekka Paalanen <pekka.paala...@collabora.co.uk> > Signed-off-by: Louis-Francis Ratté-Boulianne <l...@collabora.com> > --- > .gitignore | 1 + > Makefile.am | 8 + > clients/presentation-shm.c | 866 > +++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 875 insertions(+) > create mode 100644 clients/presentation-shm.c Hi, this whole series is now pushed, with some minor last minute changes: avoid a leak of 'struct weston_presentation_feedback' in the compositor, work around some temporary compiler warnings, and in the protocol add a note that feedback flags will be defined before 1.7 is released. Thanks, pq _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel