libweston: add weston_debug API and implementation

Graphics / Wayland / Weston - Pekka Paalanen [iki.fi] - 17 September 2018 12:29 EDT

weston_debug is both a libweston API for relaying debugging messages, and the compositor-debug wayland protocol implementation for accessing those debug messages from a Wayland client.

weston_debug_compositor_{create,destroy}() are private API, hence not exported.

a5630eaf libweston: add weston_debug API and implementation
Makefile.am | 2 +
libweston/compositor.c | 5 +
libweston/compositor.h | 9 +
libweston/weston-debug.c | 732 +++++++++++++++++++++++++++++++++++++++++++++++
libweston/weston-debug.h | 107 +++++++
5 files changed, 855 insertions(+)

Upstream: cgit.freedesktop.org


  • Share