Hi, i'm sending out the libweston series again, rebased and with most of the comments on v2 addressed. The only outstanding issue is the conundrum about the backends configuration, but i do not feel we have a consensus at the moment, or a solid proposal of an alternative way. Imho, it would make sense to land patch 4 of the series, and then follow up with additional patches to try and sort the issue out.
Changes since v2: - patches 2 and 4: removed \brief and other unnecessary doxygen tags; - patch 3: renamed weston.c to main.c; - patch 6: added a libweston.pc; Giulio Camuffo (11): compositor: introduce struct weston_backend compositor: add API to manage compositor instances compositor: move the main() to a new main.c file make the backends compositor-neutral compositor: remove the weston_config field from weston_compositor build a libweston.so used by the weston binary libweston: allow compositors to define the logging behavior libweston: move the child process launching and monitoring to weston libweston: handle the screenshoot and record bindings in weston.c text: build the text-backend in weston configure: add an option to allow building only the libraries Makefile.am | 100 +- configure.ac | 13 +- desktop-shell/shell.c | 9 +- desktop-shell/shell.h | 1 + fullscreen-shell/fullscreen-shell.c | 3 +- ivi-shell/hmi-controller.c | 18 +- ivi-shell/ivi-layout-private.h | 2 +- ivi-shell/ivi-layout.c | 4 +- ivi-shell/ivi-shell.c | 13 +- src/cms-colord.c | 3 +- src/cms-static.c | 7 +- src/compositor-drm.c | 815 ++++++++-------- src/compositor-drm.h | 83 ++ src/compositor-fbdev.c | 231 ++--- src/compositor-fbdev.h | 64 ++ src/compositor-headless.c | 168 ++-- src/compositor-headless.h | 47 + src/compositor-rdp.c | 202 ++-- src/compositor-rdp.h | 54 + src/compositor-rpi.c | 199 ++-- src/compositor-rpi.h | 57 ++ src/compositor-wayland.c | 542 ++++------- src/compositor-wayland.h | 58 ++ src/compositor-x11.c | 671 ++++++------- src/compositor-x11.h | 55 ++ src/compositor.c | 1033 ++------------------ src/compositor.h | 61 +- src/input.c | 2 +- src/libinput-device.c | 29 +- src/libinput-device.h | 2 + src/libinput-seat.c | 10 + src/libinput-seat.h | 6 + src/libweston.pc.in | 12 + src/log.c | 69 +- src/main.c | 1838 +++++++++++++++++++++++++++++++++++ src/screenshooter.c | 173 +--- src/text-backend.c | 10 +- src/weston.h | 36 + tests/ivi_layout-internal-test.c | 2 + tests/ivi_layout-test-plugin.c | 2 + tests/surface-global-test.c | 3 +- tests/surface-screenshot.c | 7 +- tests/surface-test.c | 3 +- tests/weston-test.c | 3 +- xwayland/launcher.c | 6 +- xwayland/xwayland.h | 1 + 46 files changed, 3919 insertions(+), 2808 deletions(-) create mode 100644 src/compositor-drm.h create mode 100644 src/compositor-fbdev.h create mode 100644 src/compositor-headless.h create mode 100644 src/compositor-rdp.h create mode 100644 src/compositor-rpi.h create mode 100644 src/compositor-wayland.h create mode 100644 src/compositor-x11.h create mode 100644 src/libweston.pc.in create mode 100644 src/main.c create mode 100644 src/weston.h -- 2.4.4 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel