[PATCH weston 0/8] IVI Screen refactoring

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Thu Mar 17 15:30:22 UTC 2016

Basic idea of the patch series is to use weston_output in public APIs.
The controller plugins will call IVI Layout API with weston output
instead of ivi_layout_screen. This change simplifies the IVI Layout API
implementation, e.g.:

1. Don't need to have id_screen. Weston output already has ID.
2. The screen resolution can be get from weston output directly.
3. Get screns API is unnecessary, because the compositor already has a
   list of outputs.

Emre Ucan (8):
  ivi-shell: remove id_screen
  ivi-shell: remove ivi_layout_get_id_of_screen API
  ivi-shell: remove ivi_layout_get_screen_resolution API
  ivi-shell: remove ivi_layout_get_screens API
  ivi-shell: use weston_output in public APIs
  ivi-shell: implement get_screen_from_output
  ivi-shell: remove ivi_layout_get_screen_from_id API
  ivi-shell: remove ivi_layout_get_screen_output API

 ivi-shell/hmi-controller.c       |   99 +++++++--------------------
 ivi-shell/ivi-layout-export.h    |   62 +++--------------
 ivi-shell/ivi-layout.c           |  136 ++++++++++----------------------------
 tests/ivi_layout-internal-test.c |  125 +++++------------------------------
 4 files changed, 82 insertions(+), 340 deletions(-)


More information about the wayland-devel mailing list