[PATCH 0/8] Wayland Presentation Extension v4
lfrb at collabora.com
Mon Sep 15 13:16:39 PDT 2014
To accelerate the merge of the Wayland Presentation extension, it was
decided to split it into two parts: feedback and queuing. I've done
the work of cleaning up the patches for the first one on behalf of
For context, please refer to the last thread about the extension:
Differences compared to the last proposal (RFC v3) are:
* Remove the queuing feature.
* Add flags argument to the 'presented' event.
* Add a protocol error code for invalid flags.
* Fix the RPI debug build.
* Add simple presentation test.
Patch 1 adds the protocol. See the commit message to have more details
about the changes since RFC v2.
More details about the addition of flags are available there:
The whole patch set is available at
Pekka Paalanen (8):
protocol: add presentation extension v4
compositor: add stub implementation of presentation interface
weston-info: report presentation clock
compositor: set and use the presentation clock everywhere
compositor: implement presentation_feedback
compositor-drm: deliver frame seq for feedback
tests: presentation test, simple
clients: add presentation-shm demo
.gitignore | 1 +
Makefile.am | 24 ++
clients/presentation-shm.c | 866 +++++++++++++++++++++++++++++++++++++++
clients/weston-info.c | 81 ++++
protocol/presentation_timing.xml | 247 +++++++++++
src/compositor-drm.c | 46 ++-
src/compositor-fbdev.c | 12 +-
src/compositor-headless.c | 11 +-
src/compositor-rdp.c | 11 +-
src/compositor-rpi.c | 49 ++-
src/compositor-wayland.c | 11 +-
src/compositor-x11.c | 11 +-
src/compositor.c | 279 ++++++++++++-
src/compositor.h | 20 +-
tests/presentation-test.c | 246 +++++++++++
15 files changed, 1846 insertions(+), 69 deletions(-)
create mode 100644 clients/presentation-shm.c
create mode 100644 protocol/presentation_timing.xml
create mode 100644 tests/presentation-test.c
The next step will be to finish the implementation of feedback flags.
Hopefully, it will happen in time for 1.7.0.
Afterwards, the second part of the extension (queuing) will have to be
cleaned up and merged. However, it will probably not happen before
release 1.7.0 given these two bugs must be closed first:
According to Pekka, it's high time we get the feedback basics into
Weston for everyone to try out. Let's hope it's ready to be merged.
More information about the wayland-devel