protocol: migrate to stable presentation-time.xml

Graphics / Wayland / Weston - Pekka Paalanen [collabora.co.uk] - 7 March 2016 05:29 UTC

Remove the unstable presentation_timing.xml file, and use presentation-time.xml from wayland-protocols instead to generate all the Presentation extension bindings.

The following renames are done according to the XML changes:- generated header includes- enum constants and macros prefixed with WP_- interface symbol names prefixed with wp_- protocol API calls prefixed with wp_

Clients use wp_presentation_interface.name rather than hardcoding the global interface name: presentation-shm, weston-info, presentation-test.

b00c79b protocol: migrate to stable presentation-time.xml
Makefile.am | 21 ++-
clients/presentation-shm.c | 65 ++++-----
clients/weston-info.c | 19 +--
configure.ac | 2 +-
protocol/presentation_timing.xml | 274 --------------------------------------
src/compositor-drm.c | 22 +--
src/compositor-fbdev.c | 4 +-
src/compositor-headless.c | 4 +-
src/compositor-rdp.c | 2 +-
src/compositor-rpi.c | 8 +-
src/compositor-wayland.c | 2 +-
src/compositor-x11.c | 4 +-
src/compositor.c | 32 ++---
src/compositor.h | 2 +-
tests/presentation-test.c | 34 ++---
15 files changed, 111 insertions(+), 384 deletions(-)

Upstream: cgit.freedesktop.org


  • Share