summaryrefslogtreecommitdiff
path: root/ivi-shell
diff options
context:
space:
mode:
authorUcan, Emre \(ADITG/SW1\) <eucan@de.adit-jv.com>2016-03-04 12:50:32 +0000
committerBryce Harrington <bryce@osg.samsung.com>2016-03-04 10:33:34 -0800
commit18691f03108ca374babc1d74271a0af33817c6a4 (patch)
treebe65aefbc098f6f51c545f0b947ba22688a37ceb /ivi-shell
parentc507f67f9ea964159f74c4155f7aaa081600be7a (diff)
downloadweston-18691f03108ca374babc1d74271a0af33817c6a4.tar.gz
ivi-shell: remove ivi_layout_layer_get_dimension API
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Acked-by: wataru_natsume <wataru_natsume@xddp.denso.co.jp> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'ivi-shell')
-rw-r--r--ivi-shell/ivi-layout-export.h9
-rw-r--r--ivi-shell/ivi-layout.c16
2 files changed, 0 insertions, 25 deletions
diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h
index b5c66279..4b2697cb 100644
--- a/ivi-shell/ivi-layout-export.h
+++ b/ivi-shell/ivi-layout-export.h
@@ -555,15 +555,6 @@ struct ivi_layout_interface {
int32_t dest_width, int32_t dest_height);
/**
- * \brief Get the horizontal and vertical dimension of the layer.
- *
- * \return IVI_SUCCEEDED if the method call was successful
- * \return IVI_FAILED if the method call was failed
- */
- int32_t (*layer_get_dimension)(struct ivi_layout_layer *ivilayer,
- int32_t *dest_width, int32_t *dest_height);
-
- /**
* \brief Sets the orientation of a ivi_layer.
*
* \return IVI_SUCCEEDED if the method call was successful
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index 27cc270c..64e7a2f8 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -1867,21 +1867,6 @@ ivi_layout_layer_set_destination_rectangle(struct ivi_layout_layer *ivilayer,
}
static int32_t
-ivi_layout_layer_get_dimension(struct ivi_layout_layer *ivilayer,
- int32_t *dest_width, int32_t *dest_height)
-{
- if (ivilayer == NULL || dest_width == NULL || dest_height == NULL) {
- weston_log("ivi_layout_layer_get_dimension: invalid argument\n");
- return IVI_FAILED;
- }
-
- *dest_width = ivilayer->prop.dest_width;
- *dest_height = ivilayer->prop.dest_height;
-
- return IVI_SUCCEEDED;
-}
-
-static int32_t
ivi_layout_layer_set_dimension(struct ivi_layout_layer *ivilayer,
int32_t dest_width, int32_t dest_height)
{
@@ -2691,7 +2676,6 @@ static struct ivi_layout_interface ivi_layout_interface = {
.layer_set_destination_rectangle = ivi_layout_layer_set_destination_rectangle,
.layer_set_position = ivi_layout_layer_set_position,
.layer_set_dimension = ivi_layout_layer_set_dimension,
- .layer_get_dimension = ivi_layout_layer_get_dimension,
.layer_set_orientation = ivi_layout_layer_set_orientation,
.layer_get_orientation = ivi_layout_layer_get_orientation,
.layer_add_surface = ivi_layout_layer_add_surface,