summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-07-24 09:20:54 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-07-24 07:57:00 +0000
commit2796f54cf0b80ce180542198de2b2465f9d98d95 (patch)
tree258f21f4a5100d86610b3b1dff487aec8d63c8b9
parent320122bc177cccd69509d284a4c68c79a23e1753 (diff)
Remove useless functions
These functions are not used anymore because of upgrade of wayland-ivi-extension * layer_configuration * layer_orientation * layer_screen Change-Id: I794fa13a3203b929c8fc49d6fb96b14004aa0fcc Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r--src/wayland_ivi_wm.cpp20
-rw-r--r--src/wayland_ivi_wm.hpp3
2 files changed, 0 insertions, 23 deletions
diff --git a/src/wayland_ivi_wm.cpp b/src/wayland_ivi_wm.cpp
index e0c395c..dd6fbf8 100644
--- a/src/wayland_ivi_wm.cpp
+++ b/src/wayland_ivi_wm.cpp
@@ -675,26 +675,6 @@ void controller::layer_destination_rectangle_changed(struct layer *l, uint32_t l
this->lprops[layer_id].dst_rect = rect{width, height, x, y};
}
-void controller::layer_configuration(struct layer *l, int32_t width,
- int32_t height)
-{
- HMI_DEBUG("wm", "compositor::layer %s @ %d w %i h %i", __func__, l->id,
- width, height);
- this->lprops[l->id].size = size{uint32_t(width), uint32_t(height)};
-}
-
-void controller::layer_orientation(struct layer *l, int32_t orientation)
-{
- HMI_DEBUG("wm", "compositor::layer %s @ %d o %i", __func__, l->id,
- orientation);
- this->lprops[l->id].orientation = orientation;
-}
-
-void controller::layer_screen(struct layer *l, struct wl_output *screen)
-{
- HMI_DEBUG("wm", "compositor::layer %s @ %d s %p", __func__, l->id, screen);
-}
-
void controller::layer_destroyed(struct layer *l, uint32_t layer_id)
{
HMI_DEBUG("wm", "compositor::layer %s @ %d", __func__, layer_id);
diff --git a/src/wayland_ivi_wm.hpp b/src/wayland_ivi_wm.hpp
index 06c1e1b..ac9a7fc 100644
--- a/src/wayland_ivi_wm.hpp
+++ b/src/wayland_ivi_wm.hpp
@@ -317,9 +317,6 @@ struct controller : public wayland_proxy<struct ivi_wm>
void layer_destroyed(struct layer *l, uint32_t layer_id);
void layer_error_detected(uint32_t object_id,
uint32_t error_code, char const *error_text);
- void layer_configuration(struct layer *l, int32_t width, int32_t height);
- void layer_orientation(struct layer *l, int32_t orientation);
- void layer_screen(struct layer *l, struct wl_output *screen);
};
} // namespace compositor