[PATCH weston 00/15] Output core cleanups

Pekka Paalanen ppaalanen at gmail.com
Tue Apr 4 10:58:03 UTC 2017


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Hi,

while working on Weston core reactoring towards clone mode support:
https://phabricator.freedesktop.org/T7727
https://phabricator.freedesktop.org/w/wayland/weston/atomic-output-config/
I have written a bunch of cleanups before the refactorings.
Here they are.

You can find this also in a branch:
https://git.collabora.com/cgit/user/pq/weston.git/log/?h=output-cleanup-v1

I hope I managed to make the patches easily reviewable. These should not
conflict with the atomic series.

Pekka Paalanen (15):
  libweston: improve weston_output_disable() comments
  libweston: untangle weston_compositor_remove_output doc
  libweston: use helper var in weston_compositor_remove_output
  libweston: let add/remove_output handle the lists
  libweston: two more weston_output docs
  libweston: unexport weston_compositor_add_output()
  libweston: unexport weston_output_update_matrix()
  libweston: move asserts to add_pending_output()
  libweston: specify weston_output::enabled
  libweston: prevent double weston_output_enable()
  libweston: move output id into add/remove_output()
  libweston: move globals to weston_compositor_add_output()
  libweston: extend output->region lifetime
  libweston: make weston_output::connection_internal a bool
  libweston: introduce weston_output_from_resource()

 compositor/weston-screenshooter.c   |   2 +-
 desktop-shell/input-panel.c         |   2 +-
 desktop-shell/shell.c               |   4 +-
 fullscreen-shell/fullscreen-shell.c |   4 +-
 ivi-shell/input-panel-ivi.c         |   2 +-
 libweston-desktop/wl-shell.c        |   2 +-
 libweston-desktop/xdg-shell-v5.c    |   2 +-
 libweston-desktop/xdg-shell-v6.c    |   2 +-
 libweston/compositor-drm.c          |   2 +-
 libweston/compositor.c              | 253 +++++++++++++++++++++++-------------
 libweston/compositor.h              |  12 +-
 tests/weston-test.c                 |   2 +-
 12 files changed, 179 insertions(+), 110 deletions(-)


Thanks,
pq

-- 
2.10.2



More information about the wayland-devel mailing list