ivi-shell: remove ivi_layout_get_screen_output API

The controller plugins use IVI Layout API with weston outputs.
Therefore, this API is not required.

Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Wataru Natsume <wnatsume@jp.adit-jv.com>
dev
Ucan, Emre (ADITG/SW1) 9 years ago committed by Pekka Paalanen
parent 6d89b1cdc4
commit 1c04d7b897
  1. 10
      ivi-shell/ivi-layout-export.h
  2. 7
      ivi-shell/ivi-layout.c

@ -587,16 +587,6 @@ struct ivi_layout_interface {
struct ivi_layout_layer **pLayer, struct ivi_layout_layer **pLayer,
const int32_t number); const int32_t number);
/**
* \brief get weston_output from ivi_layout_screen.
*
* \return (struct weston_output *)
* if the method call was successful
* \return NULL if the method call was failed
*/
struct weston_output *(*screen_get_output)(struct ivi_layout_screen *);
/** /**
* transision animation for layer * transision animation for layer
*/ */

@ -2012,12 +2012,6 @@ ivi_layout_screen_set_render_order(struct weston_output *output,
return IVI_SUCCEEDED; return IVI_SUCCEEDED;
} }
static struct weston_output *
ivi_layout_screen_get_output(struct ivi_layout_screen *iviscrn)
{
return iviscrn->output;
}
/** /**
* This function is used by the additional ivi-module because of dumping ivi_surface sceenshot. * This function is used by the additional ivi-module because of dumping ivi_surface sceenshot.
* The ivi-module, e.g. ivi-controller.so, is in wayland-ivi-extension of Genivi's Layer Management. * The ivi-module, e.g. ivi-controller.so, is in wayland-ivi-extension of Genivi's Layer Management.
@ -2435,7 +2429,6 @@ static struct ivi_layout_interface ivi_layout_interface = {
.get_screens_under_layer = ivi_layout_get_screens_under_layer, .get_screens_under_layer = ivi_layout_get_screens_under_layer,
.screen_add_layer = ivi_layout_screen_add_layer, .screen_add_layer = ivi_layout_screen_add_layer,
.screen_set_render_order = ivi_layout_screen_set_render_order, .screen_set_render_order = ivi_layout_screen_set_render_order,
.screen_get_output = ivi_layout_screen_get_output,
/** /**
* animation * animation

Loading…
Cancel
Save