summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUcan, Emre (ADITG/SW1) <eucan@de.adit-jv.com>2016-03-17 15:30:50 +0000
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2016-03-24 11:10:07 +0200
commit1c04d7b897227be4c5e78d0bc67f4b4e8afb0453 (patch)
tree42bcdab7719e9c030759818469a378199bb9d389
parent6d89b1cdc418d169334a8d5e65e8acbb836b0fe5 (diff)
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>
-rw-r--r--ivi-shell/ivi-layout-export.h10
-rw-r--r--ivi-shell/ivi-layout.c7
2 files changed, 0 insertions, 17 deletions
diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h
index 4fee9780..93eb504a 100644
--- a/ivi-shell/ivi-layout-export.h
+++ b/ivi-shell/ivi-layout-export.h
@@ -588,16 +588,6 @@ struct ivi_layout_interface {
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
*/
void (*transition_move_layer_cancel)(struct ivi_layout_layer *layer);
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index f1ee2dbc..5d68d4b6 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -2012,12 +2012,6 @@ ivi_layout_screen_set_render_order(struct weston_output *output,
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.
* 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,
.screen_add_layer = ivi_layout_screen_add_layer,
.screen_set_render_order = ivi_layout_screen_set_render_order,
- .screen_get_output = ivi_layout_screen_get_output,
/**
* animation