From: Kazumasa Mitsunari Date: Tue, 24 Jul 2018 00:20:54 +0000 (+0900) Subject: Remove useless functions X-Git-Tag: flounder_5.99.2~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=2796f54cf0b80ce180542198de2b2465f9d98d95;p=apps%2Fagl-service-windowmanager-2017.git 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 --- 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 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