1. 07 Feb, 2018 1 commit
  2. 25 Jul, 2017 1 commit
  3. 24 Jul, 2017 3 commits
  4. 03 Jan, 2017 1 commit
  5. 26 Jul, 2016 1 commit
  6. 01 Jun, 2016 1 commit
    • Pekka Paalanen's avatar
      ivi-shell: add API for weston_surface -> ivi_layout_surface · eaa43fc3
      Pekka Paalanen authored
      
      
      Add ivi-layout API for getting an ivi_layout_surface from a
      weston_surface if it exists. This can be used by controllers that hook
      up to core Weston callbacks and get handed a weston_surface, but need to
      use ivi-layout API to manipulate it.
      
      The only ways ivi-layout itself would be able to go from weston_surface
      to ivi_layout_surface are either searching through the list of all
      ivi_layout_surfaces or adding a dummy destroy listener to the
      weston_surface. Therefore the implementation is delegated to
      ivi-shell.c.
      
      Ivi-shell.c can easily look up the ivi_shell_surface for a
      weston_surface, and that will map 1:1 to an ivi_layout_surface.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: eucan's avatarEmre Ucan <eucan@de.adit-jv.com>
      eaa43fc3
  7. 12 May, 2016 1 commit
  8. 05 Apr, 2016 7 commits
    • eucan's avatar
      ivi-shell: rework configure_surface notification · c49aa5ac
      eucan authored
      
      
      The add_notification_configure_surface API accepts a simple
      wl_listener instead of a ivi-shell specific notification
      function. Therefore, the API is renamed to
      add_listener_configure_surface.
      
      This change has several advantages:
      1. Code cleanup
      2. No dynamic memory allocation. Listeners are allocated
         by controller plugins
      3. Remove API is not needed. Controller plugins can easily
         remove the listener link.
      
      The remove API is removed too:
      - ivi_layout_remove_notification_configure_surface
      Signed-off-by: eucan's avatarEmre Ucan <eucan@de.adit-jv.com>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      c49aa5ac
    • eucan's avatar
      ivi-shell: rework remove_surface notification · 67f0aa87
      eucan authored
      
      
      The add_notification_remove_surface API accepts a simple
      wl_listener instead of a ivi-shell specific notification
      function. Therefore, the API is renamed to add_listener_remove_surface.
      
      This change has several advantages:
      1. Code cleanup
      2. No dynamic memory allocation. Listeners are allocated
         by controller plugins
      3. Remove API is not needed. Controller plugins can easily
         remove the listener link.
      
      The remove API is removed too:
      - ivi_layout_remove_notification_remove_surface
      Signed-off-by: eucan's avatarEmre Ucan <eucan@de.adit-jv.com>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      67f0aa87
    • eucan's avatar
      ivi-shell: rework remove_layer notification · 562f2ecb
      eucan authored
      
      
      The add_notification_remove_layer API accepts a simple
      wl_listener instead of a ivi-shell specific notification
      function. Therefore, the API is renamed to add_listener_remove_layer.
      
      This change has several advantages:
      1. Code cleanup
      2. No dynamic memory allocation. Listeners are allocated
         by controller plugins
      3. Remove API is not needed. Controller plugins can easily
         remove the listener link.
      
      The remove API is removed too:
      - ivi_layout_remove_notification_remove_layer
      Signed-off-by: eucan's avatarEmre Ucan <eucan@de.adit-jv.com>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      562f2ecb
    • eucan's avatar
      ivi-shell: rework create_layer_notification · c98f2cf1
      eucan authored
      
      
      The add_notification_layer_surface API accepts a simple
      wl_listener instead of a ivi-shell specific notification
      function. Therefore, the API is renamed to add_listener_layer_surface.
      
      This change has several advantages:
      1. Code cleanup
      2. No dynamic memory allocation. Listeners are allocated
         by controller plugins
      3. Remove API is not needed. Controller plugins can easily
         remove the listener link.
      
      The remove API is removed too:
      - ivi_layout_remove_notification_create_layer
      Signed-off-by: eucan's avatarEmre Ucan <eucan@de.adit-jv.com>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      c98f2cf1
    • eucan's avatar
      ivi-shell: rework create_surface notification · 970f8315
      eucan authored
      
      
      The add_notification_create_surface API accepts a simple
      wl_listener instead of a ivi-shell specific notification
      function. Therefore, the API is renamed to
      add_listener_create_surface.
      
      This change has several advantages:
      1. Code cleanup
      2. No dynamic memory allocation. Listeners are allocated
         by controller plugins
      3. Remove API is not needed. Controller plugins can easily
         remove the listener link.
      
      The remove API is removed too:
      - ivi_layout_remove_notification_create_surface
      Signed-off-by: eucan's avatarEmre Ucan <eucan@de.adit-jv.com>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      970f8315
    • eucan's avatar
      ivi-shell: rework layer_add_notification API · 3750d1b2
      eucan authored
      
      
      The layer_add_notification API accepts a simple
      wl_listener instead of a ivi-shell specific notification
      function. Therefore, the API is renamed to layer_add_listener.
      
      This change has several advantages:
      1. Code cleanup
      2. No dynamic memory allocation. Listeners are allocated
         by controller plugins
      3. Remove API is not needed. Controller plugins can easily
         remove the listener link.
      
      This patch also remove two APIs which are not needed:
      - ivi_layout_layer_remove_notification
      - ivi_layout_layer_remove_notification_by_callback
      Signed-off-by: eucan's avatarEmre Ucan <eucan@de.adit-jv.com>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      3750d1b2
    • eucan's avatar
      ivi-shell: rework surface_add_notification API · 706cb5aa
      eucan authored
      
      
      The surface_add_notification API accepts a simple
      wl_listener instead of a ivi-shell specific notification
      function. Therefore, the API is renamed to surface_add_listener.
      
      This change has several advantages:
      1. Code cleanup
      2. No dynamic memory allocation. Listeners are allocated
         by controller plugins
      3. Remove API is not needed. Controller plugins can easily
         remove the listener link.
      
      This patch also remove two APIs which are not needed:
      - ivi_layout_surface_remove_notification
      - ivi_layout_surface_remove_notification_by_callback
      Signed-off-by: eucan's avatarEmre Ucan <eucan@de.adit-jv.com>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      706cb5aa
  9. 01 Apr, 2016 2 commits
  10. 24 Mar, 2016 6 commits
  11. 15 Mar, 2016 1 commit
  12. 04 Mar, 2016 14 commits
  13. 29 Oct, 2015 1 commit